/* Специфичные стили для главной страницы (index.html) */

/* Hero Section */
.hero {
    background: url('../images/backgrounds/hero-bg.jpg') no-repeat center bottom;
    background-size: contain;
    padding: 80px 0 0 0;
    position: relative;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    transform: translateY(-15%);
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 54px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    color: var(--orange-accent);
    margin-bottom: 25px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 16px;
    color: var(--accent-color);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Advantages */
.advantages {
    padding: 80px 0;
    background: var(--primary-color);
}

.advantages .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.advantage-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.advantage-icon-wrapper {
    width: 90px;
    height: 90px;
    background-color: #80c0c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.advantage-card img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Services */
.services {
    padding: 80px 0;
    background: var(--light-gray);
}

.services h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-weight: 900;
}

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

.service-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

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

.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
    padding: 0 40px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
    padding: 0 40px;
}

.service-card .btn-primary {
    margin: 0 40px 40px;
    margin-top: auto;
    width: calc(100% - 80px);
}

/* After Bankruptcy Section */
.after-bankruptcy {
    background: linear-gradient(rgba(93, 155, 164, 0.8), rgba(93, 155, 164, 0.8)), url('../images/backgrounds/happy-man.png') no-repeat center bottom;
    background-size: contain;
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.after-bankruptcy h2 {
    font-size: 42px;
    margin-bottom: 60px;
    font-weight: 900;
    color: var(--white);
}

.after-bankruptcy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: left;
}

.after-bankruptcy-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--white);
}

.after-bankruptcy-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--white);
}

/* How We Work Section */
.how-we-work {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
    position: relative;
}

.how-we-work::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--orange-accent));
    border-radius: 2px;
}

.how-we-work h2 {
    font-size: 42px;
    margin-bottom: 60px;
    font-weight: 900;
    color: var(--text-dark);
}

.how-we-work-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.work-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    width: 200px;
}

/* Стрелки между шагами */
.work-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -30px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--orange-accent));
}

.work-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 30px;
    right: -30px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid var(--orange-accent);
}

.work-step:hover {
    transform: translateY(-5px);
}

.work-step:hover::after,
.work-step:hover::before {
    transform: none;
}

.step-number {
    width: 70px;
    height: 70px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.work-step:hover .step-number {
    background-color: var(--primary-color);
    color: var(--white);
}

.work-step h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content h2 {
        font-size: 20px;
    }

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

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

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

    .work-step {
        width: 180px;
    }

    .work-step::after,
    .work-step::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content {
        transform: translateY(0);
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content h2 {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .advantages .container {
        grid-template-columns: 1fr;
    }

    .after-bankruptcy-grid {
        grid-template-columns: 1fr;
    }

    .how-we-work-grid {
        flex-direction: column;
        align-items: center;
    }

    .work-step {
        width: 100%;
        max-width: 300px;
    }

    .services h2,
    .after-bankruptcy h2,
    .how-we-work h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content h2 {
        font-size: 16px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .service-card h3 {
        padding: 0 20px;
        font-size: 20px;
    }

    .service-card p {
        padding: 0 20px;
        font-size: 14px;
    }

    .service-card .btn-primary {
        margin: 0 20px 20px;
        width: calc(100% - 40px);
    }
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 900;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
}

.cta-feature img {
    width: 40px;
    height: 40px;
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-light:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

/* Home blog block */
.home-blog {
    padding: 80px 0;
    background: #ffffff;
}

.home-blog h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 900;
}

.home-blog-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.home-blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.home-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.home-blog-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.home-blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem;
    min-height: 0;
}

.home-blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.35;
}

.home-blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog-card-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: auto;
    padding-top: 1rem;
}

.home-blog-cta {
    text-align: center;
}

.home-blog-cta .btn {
    min-width: 200px;
}

@media (max-width: 1024px) {
    .home-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .home-blog h2 {
        font-size: 32px;
    }

    .home-blog-subtitle {
        margin-bottom: 32px;
    }

    .home-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 32px;
    }

    .home-blog-card-img {
        height: 200px;
    }
}

/* Reviews */
.reviews {
    padding: 80px 0;
    background: var(--light-gray);
}

.reviews h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-weight: 900;
}

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

.review-card {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
}

.review-author {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
}

.review-location {
    color: var(--text-light);
    font-size: 14px;
}

.review-quote {
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.review-stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 15px;
}

.review-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Responsive для CTA и Reviews */
@media (max-width: 1024px) {
    .cta-section h2 {
        font-size: 36px;
    }

    .cta-section p {
        font-size: 16px;
    }

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

@media (max-width: 768px) {
    .cta-features {
        flex-direction: column;
        gap: 30px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .cta-section p {
        font-size: 15px;
    }

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

    .reviews h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-feature {
        font-size: 16px;
    }
}

/* Debts Section */
.debts-section {
    padding: 80px 0;
    background: var(--white);
}

.debts-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-weight: 900;
}

.debts-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.debts-column {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

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

.debts-column-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.debts-column-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.debts-column-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.debts-column-icon svg {
    width: 24px;
    height: 24px;
}

.debts-column-icon.can {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.debts-column-icon.cannot {
    background: linear-gradient(135deg, #f87171, #ef4444);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.debts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.debts-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.debts-list li:last-child {
    border-bottom: none;
}

.check-icon,
.cross-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.check-icon {
    background: rgba(34, 197, 94, 0.15);
}

.check-icon::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2.5px solid #22c55e;
    border-bottom: 2.5px solid #22c55e;
    transform: rotate(-45deg);
    margin-bottom: 2px;
}

.cross-icon {
    background: rgba(239, 68, 68, 0.15);
}

.cross-icon::before,
.cross-icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2.5px;
    background: #ef4444;
    border-radius: 2px;
}

.cross-icon::before {
    transform: rotate(45deg);
}

.cross-icon::after {
    transform: rotate(-45deg);
}

/* About & Why Us Section */
.about-why-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-why-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
}

.about-company-card,
.why-us-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.about-company-card h2,
.why-us-card h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: 900;
}

.about-company-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-company-card p:last-child {
    margin-bottom: 0;
}

.why-us-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-us-list li {
    display: flex;
    gap: 15px;
    align-items: start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.why-us-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.why-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    flex-shrink: 0;
}

.why-us-list li div {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.why-us-list li strong {
    color: var(--text-dark);
}

/* Test Section */
.test-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--orange-accent) 0%, #e5533f 100%);
}

.test-card {
    text-align: center;
    color: var(--white);
}

.test-card h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 900;
}

.test-card p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 22px 50px;
    font-size: 20px;
    background: var(--white);
    color: var(--orange-accent);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-large:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

/* Responsive для новых блоков */
@media (max-width: 1024px) {
    .debts-columns {
        gap: 30px;
    }

    .about-why-grid {
        grid-template-columns: 1fr;
    }

    .debts-section h2,
    .test-card h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .debts-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .debts-column {
        padding: 30px;
    }

    .debts-column-header h3 {
        font-size: 20px;
    }

    .debts-list li {
        font-size: 16px;
        padding: 12px 0;
    }

    .about-company-card,
    .why-us-card {
        padding: 35px 25px;
    }

    .about-company-card h2,
    .why-us-card h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .test-card h2 {
        font-size: 32px;
    }

    .test-card p {
        font-size: 18px;
    }

    .debts-section,
    .about-why-section,
    .test-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .debts-column {
        padding: 25px 20px;
    }

    .debts-section h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .debts-column-header {
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .debts-column-icon {
        width: 42px;
        height: 42px;
    }

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

    .debts-column-header h3 {
        font-size: 18px;
    }

    .debts-list li {
        font-size: 15px;
        gap: 12px;
    }

    .check-icon,
    .cross-icon {
        width: 24px;
        height: 24px;
    }

    .test-card h2 {
        font-size: 28px;
    }

    .test-card p {
        font-size: 16px;
    }

    .btn-large {
        padding: 18px 35px;
        font-size: 18px;
        width: 100%;
    }
}

/* ===== СТИЛИ ДЛЯ ВНУТРЕННИХ СТРАНИЦ ===== */

/* Page Hero - заголовок внутренних страниц */
.page-hero {
    background: var(--primary-color);
    padding: 80px 0 60px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 18px;
    color: var(--white);
    max-width: 700px;
    margin: 0;
    line-height: 1.7;
    opacity: 0.95;
}

.page-hero .btn {
    margin-top: 30px;
}

/* Page Hero «Наши услуги»: высота как Цены/Отзывы, фон как «После процедуры банкротства» */
.page-hero.page-hero-services {
    background: linear-gradient(rgba(93, 155, 164, 0.88), rgba(93, 155, 164, 0.88)), url('../images/backgrounds/happy-man.png') no-repeat 70% bottom;
    background-size: contain;
    padding: 50px 0 45px;
    height: 320px;
    display: flex;
    align-items: center;
}

.page-hero.page-hero-services h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.page-hero.page-hero-services p {
    font-size: 16px;
    line-height: 1.5;
}

.page-hero.page-hero-services .btn {
    margin-top: 18px;
}

/* Hero Цены: как Наши услуги, human справа (текст не западает) */
.page-hero.page-hero-prices {
    background: linear-gradient(rgba(93, 155, 164, 0.88), rgba(93, 155, 164, 0.88)), url('../images/backgrounds/happy-man.png') no-repeat 70% bottom;
    background-size: contain;
    padding: 50px 0 45px;
    height: 320px;
    display: flex;
    align-items: center;
}

.page-hero.page-hero-prices h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.page-hero.page-hero-prices p {
    font-size: 16px;
    line-height: 1.5;
}

.page-hero.page-hero-prices .btn {
    margin-top: 18px;
}

/* Hero Отзывы, О нас, Партнерам, Контакты: фоновая картинка справа */
.page-hero.page-hero-reviews,
.page-hero.page-hero-about,
.page-hero.page-hero-partners,
.page-hero.page-hero-contacts {
    background: linear-gradient(rgba(93, 155, 164, 0.88), rgba(93, 155, 164, 0.88)), url('../images/backgrounds/happy-man.png') no-repeat 70% bottom;
    background-size: contain;
    padding: 50px 0 45px;
    height: 320px;
    display: flex;
    align-items: center;
}

.page-hero.page-hero-reviews h1,
.page-hero.page-hero-about h1,
.page-hero.page-hero-partners h1,
.page-hero.page-hero-contacts h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.page-hero.page-hero-reviews p,
.page-hero.page-hero-about p,
.page-hero.page-hero-partners p,
.page-hero.page-hero-contacts p {
    font-size: 16px;
    line-height: 1.5;
}

/* Reviews Page Styles */
.reviews-page {
    padding: 80px 0;
    background: var(--white);
}

.reviews-page .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-page .review-card {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
}

.reviews-page .review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.reviews-page .review-author {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.reviews-page .review-location {
    color: var(--text-light);
    font-size: 14px;
}

.reviews-page .review-text {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-top: 15px;
}

.reviews-cta {
    padding: 80px 0;
    background: var(--light-gray);
    text-align: center;
}

.reviews-cta h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.reviews-cta p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.reviews-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.reviews-cta-buttons .btn {
    min-width: 250px;
}

/* Partners Page Styles */
.partners-programs {
    padding: 80px 0;
    background: var(--white);
}

.partners-intro {
    text-align: center;
    margin-bottom: 50px;
}

.partners-intro h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.partners-intro p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-program-card {
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.partner-program-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(93, 155, 164, 0.15);
    transform: translateY(-5px);
}

.partner-program-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.partner-program-header h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.partner-program-subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.partner-program-content {
    color: var(--text-dark);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.partner-program-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.partner-program-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(93, 155, 164, 0.1) 0%, rgba(93, 155, 164, 0.05) 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.highlight-icon {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 900;
    flex-shrink: 0;
}

.highlight-content {
    font-size: 1.1rem;
    line-height: 1.6;
}

.highlight-content strong {
    color: var(--text-dark);
    font-weight: 700;
}

.partner-program-details {
    margin-bottom: 25px;
}

.partner-program-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.partner-program-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-program-list li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-program-list li:last-child {
    border-bottom: none;
}

.partner-program-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.1rem;
}

.partner-program-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.partner-program-format {
    background: var(--light-gray);
    padding: 15px 20px;
    border-radius: 10px;
    margin: 25px 0;
    font-size: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.partner-program-card .btn {
    width: 100%;
    margin-top: auto;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

.partners-cta {
    padding: 80px 0;
    background: var(--light-gray);
    text-align: center;
}

.partners-cta h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.partners-cta p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.partners-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.partners-cta-buttons .btn {
    min-width: 250px;
}

/* Contacts Page Styles */
.contacts-section {
    padding: 80px 0;
    background: var(--white);
}

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

.contacts-intro h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contacts-intro p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contacts-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.city-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.city-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.contacts-info {
    position: relative;
    min-height: 500px;
}

.city-info {
    display: none;
    animation: fadeIn 0.3s ease;
}

.city-info.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contacts-details h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.contact-item a {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contacts-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: 400px;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contacts-form-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.contacts-form-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
}

.contacts-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contacts-form .form-group {
    margin-bottom: 0;
}

.contacts-form .form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contacts-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contacts-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contacts-form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 25px;
    text-align: center;
}

.contacts-form .btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 0;
}

/* Coming Soon Section - страницы в разработке */
.coming-soon-section {
    padding: 100px 0;
    background: var(--light-gray);
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.coming-soon-card {
    background: var(--white);
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.coming-soon-card h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 900;
}

.coming-soon-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.coming-soon-card .btn {
    margin-top: 25px;
}

.coming-soon-card .contact-info-preview {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    text-align: left;
}

.coming-soon-card .contact-info-preview p {
    margin-bottom: 10px;
}

.coming-soon-card .contact-info-preview p:last-child {
    margin-bottom: 0;
}

.coming-soon-card .contact-info-preview a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.coming-soon-card .contact-info-preview a:hover {
    text-decoration: underline;
}

/* About Company Page Styles */
.about-company-main {
    padding: 80px 0;
    background: var(--white);
}

.about-company-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.about-company-logo {
    flex-shrink: 0;
}

.about-logo-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
}

.about-company-text {
    flex: 1;
}

.about-company-text p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-company-text p:last-child {
    margin-bottom: 0;
}

.about-company-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.about-why-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-why-section .section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.about-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
}

.about-why-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.about-why-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 900;
    line-height: 1;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-why-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-why-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.about-mission {
    padding: 80px 0;
    background: var(--white);
}

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

.about-mission-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.about-mission-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-mission-content p:last-child {
    margin-bottom: 0;
}

/* ===== СТРАНИЦА ЦЕН ===== */

.prices-tariffs {
    padding: 80px 0;
    background: var(--white);
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.tariff-card {
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

/* 5-й тариф — по центру последней строки, ширина как у одной колонки */
.tariff-card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 12px);
    min-width: 280px;
}

.tariff-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(93, 155, 164, 0.15);
}

.tariff-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.tariff-card h3.tariff-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.tariff-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.55;
    margin: 0 0 1.25rem;
    flex: 1;
}

.tariff-price-block {
    background: rgba(93, 155, 164, 0.12);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--accent-color);
}

.tariff-price-main {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.tariff-price-main sup {
    font-size: 0.7em;
    vertical-align: super;
    color: var(--primary-color);
    font-weight: 800;
}

.tariff-price-detail {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.45;
}

.tariff-price-block-custom .tariff-price-main {
    font-size: 1.1rem;
}

.tariff-price-block-custom .tariff-price-detail {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.tariff-instalment {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    min-height: 2.2em;
}

.tariff-price-breakdown {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.45;
    margin: 0.75rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(93, 155, 164, 0.2);
}

.tariff-price-breakdown sup {
    font-size: 0.7em;
    vertical-align: super;
    color: var(--primary-color);
}

.prices-extra {
    padding: 60px 0;
    background: var(--light-gray);
}

.prices-extra h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.prices-extra-content {
    max-width: 800px;
    margin: 0 auto;
}

.prices-extra-content p,
.prices-extra-content ul {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.prices-extra-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prices-extra-content li {
    margin-bottom: 0.75rem;
}

.prices-extra-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.25rem !important;
}

.prices-order-link {
    padding: 40px 0;
    background: var(--white);
    border-top: 1px solid rgba(93, 155, 164, 0.2);
}

.prices-order-link-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.prices-order-link-text {
    font-size: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
}

.prices-order-link-text:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.prices-cta {
    padding: 80px 0;
    background: var(--primary-color);
    text-align: center;
}

.prices-cta h2 {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.prices-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.prices-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.prices-cta-buttons .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.prices-cta-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ==================== QUIZ MODAL (Квиз бесплатного банкротства) ==================== */
.quiz-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow-y: auto;
    animation: modalOverlayIn 0.25s ease;
}

.quiz-modal-content {
    background-color: #fff;
    margin: 5vh auto;
    max-width: 580px;
    width: 92%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.1);
    position: relative;
    animation: modalSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.quiz-modal-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #4a8a93);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.quiz-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange-accent);
}

.quiz-modal-header h2 {
    font-size: 1.2rem;
    color: var(--white);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.quiz-modal-close {
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.quiz-modal-close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.quiz-progress {
    height: 5px;
    background-color: #e2e8f0;
    width: 100%;
    position: relative;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--orange-accent), #ff8a75);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 4px 4px 0;
}

.quiz-steps {
    padding: 2rem 2rem 1.5rem;
    min-height: 380px;
}

.quiz-step {
    display: none;
    animation: quizFadeIn 0.35s ease;
}

.quiz-step.active {
    display: block;
}

@keyframes quizFadeIn {
    from {
        opacity: 0;
        transform: translateX(15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quiz-step h3 {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    text-align: center;
    font-weight: 700;
}

.quiz-hint {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.quiz-option {
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    font-family: inherit;
    position: relative;
    padding-left: 1.25rem;
}

.quiz-option:hover {
    border-color: var(--accent-color);
    background: var(--white);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(93, 155, 164, 0.15);
}

.quiz-option:active {
    transform: translateX(2px);
}

.quiz-form {
    margin-top: 1rem;
}

.quiz-form .form-group {
    margin-bottom: 1.1rem;
}

.quiz-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quiz-form .form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.quiz-form .form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(93, 155, 164, 0.12);
}

.quiz-form .form-group input::placeholder {
    color: #a0aec0;
}

.quiz-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 0.5rem 0;
}

.quiz-form .checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.quiz-form .checkbox-group label {
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
    color: var(--text-light);
}

.quiz-form .checkbox-group label a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.quiz-form .checkbox-group label a:hover {
    color: var(--orange-accent);
}

.quiz-result {
    text-align: center;
    padding: 2.5rem 1rem;
}

.quiz-result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), #4a8a93);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(93, 155, 164, 0.3);
    animation: quizSuccessPulse 2s ease infinite;
}

@keyframes quizSuccessPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(93, 155, 164, 0.3); }
    50% { box-shadow: 0 8px 35px rgba(93, 155, 164, 0.5); }
}

.quiz-result h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.quiz-result p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.quiz-result p strong {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .quiz-modal-content {
        margin: 3vh auto;
        width: 95%;
    }

    .quiz-modal-header {
        padding: 1.25rem 1.25rem;
    }

    .quiz-modal-header h2 {
        font-size: 1.05rem;
    }

    .quiz-steps {
        padding: 1.25rem;
        min-height: 280px;
    }

    .quiz-step h3 {
        font-size: 1.15rem;
    }

    .quiz-option {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }
}

/* ===== Модальное окно консультации (улучшенный дизайн) ===== */
.consult-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: modalOverlayIn 0.25s ease;
}

@keyframes modalOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.consult-modal-content {
    background: var(--white);
    margin: 6vh auto;
    padding: 0;
    border-radius: 16px;
    max-width: 460px;
    width: 92%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.1);
    animation: modalSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.consult-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #4a8a93);
    position: relative;
}

.consult-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange-accent);
}

.consult-modal-header h2 {
    font-size: 1.3rem;
    color: var(--white);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.consult-modal-close {
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.consult-modal-close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.consult-modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.75rem 2rem 2rem;
}

.consult-modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.consult-modal-form .form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.consult-modal-form .form-group input {
    padding: 0.85rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.consult-modal-form .form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(93, 155, 164, 0.12);
}

.consult-modal-form .form-group input::placeholder {
    color: #a0aec0;
}

.consult-modal-form .checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
}

.consult-modal-form .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.consult-modal-form .checkbox-group label {
    cursor: pointer;
    font-weight: normal;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-light);
}

.consult-modal-form .checkbox-group label a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.consult-modal-form .checkbox-group label a:hover {
    color: var(--orange-accent);
}

.contacts-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.contacts-form .checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.contacts-form .checkbox-group label {
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.contacts-form .checkbox-group label a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.contacts-form .checkbox-group label a:hover {
    color: var(--orange-accent);
}

.modal-form .checkbox-group label a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.modal-form .checkbox-group label a:hover {
    color: var(--orange-accent);
}

.consult-modal-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.consult-modal-form .btn {
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(242, 102, 81, 0.3);
    transition: all 0.3s ease;
}

.consult-modal-form .btn:hover {
    box-shadow: 0 6px 20px rgba(242, 102, 81, 0.45);
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .prices-tariffs {
        padding: 60px 0;
    }

    .tariffs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .tariff-card:nth-child(5) {
        max-width: none;
        min-width: 0;
        justify-self: stretch;
    }

    .tariff-card {
        padding: 1.5rem;
    }

    .prices-extra {
        padding: 40px 0;
    }

    .prices-extra h2 {
        font-size: 1.5rem;
    }

    .prices-cta {
        padding: 60px 0;
    }

    .prices-cta h2 {
        font-size: 1.75rem;
    }

    .prices-cta-buttons {
        flex-direction: column;
    }

    .prices-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .prices-order-link {
        padding: 30px 0;
    }

    .about-company-main {
        padding: 60px 0;
    }

    .about-company-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .about-logo-img {
        max-width: 200px;
    }

    .about-company-text {
        text-align: left;
    }

    .about-why-section {
        padding: 60px 0;
    }

    .about-why-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about-why-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-why-card {
        padding: 30px 25px;
    }

    .about-mission {
        padding: 60px 0;
    }

    .about-mission-content h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-mission-content p {
        font-size: 1rem;
    }

    .partners-programs {
        padding: 60px 0;
    }

    .partners-intro h2 {
        font-size: 2rem;
    }

    .partners-intro p {
        font-size: 1rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .partner-program-card {
        padding: 30px 25px;
    }

    .partner-program-header h3 {
        font-size: 1.5rem;
    }

    .partners-cta {
        padding: 60px 0;
    }

    .partners-cta h2 {
        font-size: 2rem;
    }

    .partners-cta p {
        font-size: 1rem;
    }

    .partners-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .partners-cta-buttons .btn {
        width: 100%;
        min-width: auto;
    }

    .reviews-page {
        padding: 60px 0;
    }

    .reviews-page .reviews-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .reviews-page .review-card {
        padding: 30px 25px;
    }

    .reviews-cta {
        padding: 60px 0;
    }

    .reviews-cta h2 {
        font-size: 2rem;
    }

    .reviews-cta p {
        font-size: 1rem;
    }

    .reviews-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .reviews-cta-buttons .btn {
        width: 100%;
        min-width: auto;
    }

    .contacts-section {
        padding: 60px 0;
    }

    .contacts-intro h2 {
        font-size: 2rem;
    }

    .contacts-intro p {
        font-size: 1rem;
    }

    .contacts-cities {
        gap: 10px;
        margin-bottom: 30px;
    }

    .city-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contacts-details h3 {
        font-size: 1.5rem;
    }

    .contacts-map {
        height: 300px;
    }

    .contacts-form-section {
        padding: 60px 0;
    }

    .contacts-form-section h2 {
        font-size: 2rem;
    }

    .contacts-form {
        padding: 30px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Responsive для внутренних страниц */
@media (max-width: 1024px) {
    .page-hero h1 {
        font-size: 40px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .page-hero.page-hero-services h1 {
        font-size: 36px;
    }

    .page-hero.page-hero-services p {
        font-size: 15px;
    }

    .page-hero.page-hero-prices h1 {
        font-size: 36px;
    }

    .about-company-content {
        gap: 40px;
    }

    .about-logo-img {
        max-width: 250px;
    }

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

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-hero.page-hero-prices p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 50px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .page-hero p {
        font-size: 15px;
    }

    .page-hero.page-hero-services {
        padding: 45px 0 40px;
    }

    .page-hero.page-hero-services h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .page-hero.page-hero-services p {
        font-size: 14px;
    }

    .page-hero.page-hero-services .btn {
        margin-top: 14px;
    }

    .page-hero.page-hero-prices {
        padding: 45px 0 40px;
        background-position: 90% bottom;
    }

    .page-hero.page-hero-prices h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .page-hero.page-hero-prices p {
        font-size: 14px;
    }

    .page-hero.page-hero-prices .btn {
        margin-top: 14px;
    }

    .tariff-card {
        min-height: 0;
    }

    .coming-soon-section {
        padding: 60px 0;
    }

    .coming-soon-card {
        padding: 40px 30px;
    }

    .coming-soon-card h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 28px;
    }

    .page-hero.page-hero-services h1 {
        font-size: 26px;
    }

    .page-hero.page-hero-prices h1 {
        font-size: 26px;
    }

    .coming-soon-card {
        padding: 30px 20px;
    }

    .coming-soon-card h2 {
        font-size: 24px;
    }

    .coming-soon-card .contact-info-preview {
        padding: 20px 15px;
    }
}

/* ===== СТИЛИ ДЛЯ БЛОГА ===== */

/* Blog Categories Section */
.blog-categories {
    padding: 80px 0;
    background: var(--white);
}

.blog-categories h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 900;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.category-card {
    background: var(--light-gray);
    padding: 30px 25px;
    border-radius: 15px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(93, 155, 164, 0.15);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
    line-height: 1;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.category-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.articles-count {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.category-card:hover .articles-count {
    background: var(--orange-accent);
}

/* Responsive для блога */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-categories h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .category-card {
        padding: 25px 20px;
    }

    .category-icon {
        font-size: 40px;
    }

    .category-card h3 {
        font-size: 15px;
    }

    .blog-categories {
        padding: 60px 0;
    }

    .blog-categories h2 {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-card {
        flex-direction: row;
        text-align: left;
        padding: 20px;
        gap: 15px;
    }

    .category-icon {
        font-size: 36px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .category-card h3 {
        margin-bottom: 5px;
    }

    .category-card p {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .articles-count {
        align-self: flex-start;
    }

    .blog-categories h2 {
        font-size: 28px;
    }
}

/* ===== ЗАЩИТА ФОРМ: КАПЧА, HONEYPOT, МОДАЛКА ПД ===== */

/* Honeypot — скрытое поле-ловушка для ботов */
.hn-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Математическая капча */
.captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
    padding: 0.6rem 0.8rem;
    background: #f1f5f9;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.captcha-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.captcha-group input {
    width: 65px;
    padding: 8px 10px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--white);
    font-weight: 600;
}

.captcha-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(93, 155, 164, 0.15);
}

/* Анимация тряски при ошибке капчи */
@keyframes captchaShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-6px); }
    20%, 40%, 60%, 80% { transform: translateX(6px); }
}

.captcha-shake {
    animation: captchaShake 0.5s ease;
    border-color: var(--orange-accent) !important;
    background: #fff5f5 !important;
}

/* Модальное окно согласия на обработку ПД */
.pd-consent-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow-y: auto;
    animation: modalOverlayIn 0.25s ease;
}

.pd-consent-modal-content {
    background: var(--white);
    margin: 5vh auto;
    max-width: 680px;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.1);
    position: relative;
    animation: modalSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pd-consent-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #4a8a93);
    flex-shrink: 0;
    position: relative;
}

.pd-consent-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange-accent);
}

.pd-consent-modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
}

.pd-consent-modal-close {
    font-size: 24px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.pd-consent-modal-close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.pd-consent-modal-body {
    overflow-y: auto;
    line-height: 1.7;
    color: #444;
    font-size: 14px;
    padding: 1.75rem 2rem 2rem;
}

.pd-consent-modal-body p {
    margin-bottom: 12px;
}

.pd-consent-modal-body ul {
    margin: 12px 0;
    padding-left: 22px;
}

.pd-consent-modal-body li {
    margin-bottom: 4px;
}

/* Стили чекбокса согласия ПД — ссылка */
.consent-link {
    color: var(--accent-color);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s;
}

.consent-link:hover {
    color: var(--orange-accent);
}

/* Responsive — модальные окна */
@media (max-width: 768px) {
    .consult-modal-content {
        margin: 3vh auto;
        width: 95%;
    }

    .consult-modal-header {
        padding: 1.25rem 1.5rem;
    }

    .consult-modal-header h2 {
        font-size: 1.15rem;
    }

    .consult-modal-form {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .pd-consent-modal-content {
        margin: 2vh 10px;
        max-height: 92vh;
    }

    .pd-consent-modal-header {
        padding: 1rem 1.25rem;
    }

    .pd-consent-modal-header h2 {
        font-size: 16px;
    }

    .pd-consent-modal-body {
        font-size: 13px;
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .captcha-group {
        gap: 8px;
        padding: 0.5rem 0.6rem;
    }

    .captcha-group label {
        font-size: 13px;
    }

    .captcha-group input {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .consult-modal-content {
        margin: 2vh auto;
        width: 96%;
        border-radius: 14px;
    }

    .consult-modal-header h2 {
        font-size: 1.05rem;
    }

    .consult-modal-form {
        padding: 1rem 1.25rem 1.25rem;
    }

    .pd-consent-modal-content {
        margin: 1vh 6px;
        border-radius: 14px;
    }

    .pd-consent-modal-header h2 {
        font-size: 15px;
    }
}
