/* All 17 service pages ($page_style = service) — responsive UX */

@media (min-width: 768px) and (max-width: 1023px) {
    main .service-hero-flex {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 1.5rem 4rem;
    }

    main .service-hero-flex .hero-content h1,
    main .service-hero-flex .hero-content .h1 {
        font-size: clamp(1.75rem, 3.5vw, 2.375rem) !important;
        line-height: 1.2;
    }

    main .service-hero-flex .hero-content,
    main .service-hero-flex .hero-content p {
        text-align: center;
    }

    main .service-hero-flex .hero-content .flex {
        justify-content: center !important;
    }

    main .hero-form {
        max-width: 28rem;
        margin: 0 auto;
        width: 100%;
    }

    main .ebook-service .lg\:grid-cols-3,
    main .grid.lg\:grid-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    main .grid.lg\:grid-cols-2,
    main .lg\:grid-cols-2 {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem;
    }

    main .book-idea .grid,
    main .book-idea .container.grid,
    main .journey .grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    main .steps-list {
        grid-template-columns: 1fr;
    }

    main .book-promo .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    main .promo-books img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 767px) {
    main .service-hero-flex,
    main .container.hero-flex.service-hero-flex {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem 2.5rem;
    }

    main .service-hero-flex .hero-content {
        padding: 1.5rem 0 1.25rem !important;
        text-align: center;
    }

    main .service-hero-flex .hero-content h1,
    main .service-hero-flex .hero-content .h1 {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        line-height: 1.2;
        letter-spacing: -0.01em;
    }

    main .service-hero-flex .hero-content h1,
    main .service-hero-flex .hero-content p {
        text-align: center;
        max-width: 100%;
    }

    main .hero-section {
        padding-bottom: 4.5rem;
    }

    main .service-hero-flex .flex,
    main .two-buttons,
    main .book-idea .two-buttons,
    main .promo-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 0.75rem !important;
        width: 100%;
    }

    main .two-buttons .primary-btn,
    main .two-buttons .secondary-btn {
        width: 100%;
        justify-content: center;
        display: inline-flex;
        align-items: center;
    }

    main .book-idea,
    main .journey {
        padding-bottom: 3rem !important;
        overflow: hidden;
    }

    main .book-idea .grid,
    main .book-idea .container.grid,
    main .journey .grid,
    main .grid.lg\:grid-cols-2,
    main .lg\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    main .ready-right_item:after,
    main .ready-rights_item:after {
        display: none;
    }

    main .book-idea img,
    main .journey img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    main .ebook-service,
    main .inner-ebook-services {
        padding: 3rem 0 !important;
    }

    main .ebook-service .lg\:grid-cols-3,
    main .grid.lg\:grid-cols-3,
    main .grid.grid-cols-1.lg\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }

    main .ebook-service_item,
    main .inner-ebook-services .ebook-service_item {
        min-height: auto;
        padding: 1.75rem 1.25rem 1.5rem;
    }

    main .inner-service_item .ebook-service_item_content {
        padding: 0 1.25rem 1.25rem;
    }

    main .ebook-service_header {
        max-width: 100% !important;
        text-align: center;
        padding: 0 0.5rem;
    }

    main .ebook-service_header p {
        max-width: 100%;
    }

    main .hero-form {
        width: 100%;
        max-width: 100%;
    }

    main .hero-form-title h3 {
        font-size: clamp(1.2rem, 4vw, 1.35rem);
    }

    main .hero-form form {
        padding: 1.25rem;
    }

    main .steps-before,
    main .steps-after {
        display: none;
    }

    main .steps-book {
        overflow: hidden;
        padding: 3rem 0 !important;
    }

    main .steps-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    main .single-step-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    main .step-list-number {
        border-radius: 14px 14px 0 0;
        width: 100%;
        text-align: center;
    }

    main .step-list-details {
        padding: 1rem 1.25rem 1.25rem;
        text-align: left;
    }

    main .step-list-details h4,
    main .step-list-details p {
        text-align: left;
    }

    main .book-promo {
        padding: 3rem 0;
    }

    main .book-promo .container {
        gap: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    main .promo-content ul {
        grid-template-columns: 1fr;
        text-align: left;
    }

    main .promo-inner-list {
        text-align: left;
    }

    main .faq-section {
        padding: 2.5rem 1rem 4rem;
    }

    main .faq-title {
        font-size: clamp(1.35rem, 5vw, 2rem);
    }

    main .faq-question {
        gap: 1rem;
        text-align: left;
    }

    main .faq-answer {
        text-align: left;
    }

}

@media (max-width: 575px) {
    main .faq-title {
        font-size: 1.5rem;
    }

    main .faq-question {
        font-size: max(0.9375rem, 15px);
    }

    main .promo-content h2,
    main .cta-content h2 {
        font-size: 1.35rem;
    }

    main .step-list-number p {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 479px) {
    main .service-hero-flex .hero-content h1,
    main .service-hero-flex .hero-content .h1 {
        font-size: clamp(1.375rem, 5.5vw, 1.75rem) !important;
    }

    main .service-hero-flex .hero-content {
        padding: 1.5rem 0 1.25rem !important;
    }

    main .ebook-service_item {
        padding: 1.25rem 1rem;
    }

    main .single-step-list {
        gap: 0;
    }

    main .step-list-number {
        padding: 1rem;
    }

    main .step-list-number p {
        width: 3rem;
        height: 3rem;
        font-size: 0.875rem;
    }

    main .step-list-details h4 {
        font-size: 1.125rem;
    }
}
