/**
 * RO Service Wala – UI Mobile
 * ============================================================
 * Responsive layout overrides and spacing adjustments for mobile devices.
 * ============================================================
 */

@media (max-width: 767px) {
    /* ── Body padding ── */
    body { padding-bottom: 80px; }

    /* ── Hero Section ── */
    .hero-section { padding-top: 48px !important; padding-bottom: 88px !important; }
    .hero-section > div { padding-left: 14px; padding-right: 14px; }
    .hero-section > div > div:first-child { padding: 24px 18px; border-radius: 20px; }
    .hero-section img { border-width: 5px; border-radius: 20px; transform: none; }

    /* ── Estimator Section ── */
    #estimator { padding-top: 48px !important; padding-bottom: 88px !important; }
    #estimator > div { padding-left: 16px; padding-right: 16px; }
    #estimator .grid.lg\:grid-cols-5 { margin-top: 28px; }

    /* ── Before/After Section & Slider ── */
    .before-after-section { padding: 48px 14px 56px; }
    .before-after-section > div { padding: 28px 10px; border-radius: 22px; }
    .ba-slider-wrap { border-width: 4px; }

    /* ── TDS Section ── */
    .tds-section { padding-top: 48px !important; padding-bottom: 88px !important; }
    .tds-section .grid > div { padding: 16px; }
    .tds-section .grid { gap: 24px; }

    /* ── Trust Strip ── */
    .trust-strip { padding-top: 24px !important; padding-bottom: 32px !important; }
    .trust-strip > div { padding-left: 14px; padding-right: 14px; }
    .trust-strip .grid { grid-auto-rows: 1fr; gap: 12px; }
    .trust-strip .grid > div { min-height: 92px; align-items: center; gap: 10px; padding: 14px 12px; }
    .trust-strip .material-symbols-outlined { width: 38px; height: 38px; flex-basis: 38px; font-size: 23px !important; }
    .trust-strip .grid > div p:first-child { font-size: 13px; }
    .trust-strip .grid > div p:last-child { font-size: 11px; overflow-wrap: normal; word-break: normal; }

    /* ── Promise Section ── */
    .promise-section { padding-top: 40px; padding-bottom: 88px; border-top: 1px solid var(--rsw-border); }
    .promise-section > div { padding-left: 16px; padding-right: 16px; }
    .promise-section .text-center.mb-lg { margin-bottom: 28px; }
    .promise-section h2 { font-size: 27px; line-height: 1.18; }
    .promise-section .grid { gap: 20px; }

    /* ── Service Options Section ── */
    .service-options-section { padding-top: 48px; padding-bottom: 88px; }
    .service-options-heading { margin-bottom: 22px; }
    .service-options-heading h2 { margin-bottom: 14px; }
    .service-options-cards { gap: 20px !important; padding: 14px; border-radius: 20px; }
    .service-options-cards > div { padding: 24px 20px; }
    .service-options-cards > div:first-child { padding: 0; }
    .service-options-cards > div:first-child > div:last-child { padding: 24px 20px; }

    /* ── AMC Plans Section ── */
    #amc { padding-top: 48px; padding-bottom: 88px; }
    #amc > div { padding-left: 16px; padding-right: 16px; }
    #amc-plans-container > .grid { gap: 20px; }
    #amc-plans-container > .grid > div { padding: 24px; }
    .amc-plan-card { padding: 26px 20px 22px; scroll-margin-top: 120px; }
    .amc-plan-card:hover { transform: none; }
    #amc-plans-container > div:last-child { margin-top: 28px; margin-bottom: 8px; padding: 20px; }

    /* ── Services Section ── */
    .services-section { padding-top: 48px; padding-bottom: 88px; }
    .services-section > div { padding-left: 16px; padding-right: 16px; }
    .services-section h2 { font-size: clamp(22px, 6.5vw, 30px); line-height: 1.2; letter-spacing: -0.018em; }
    .services-section > div > div:first-child > div.max-w-2xl > p { max-width: 100%; line-height: 1.68; font-size: 15px; }
    .services-section > div > div:first-child { gap: 20px !important; margin-bottom: 32px !important; }
    .services-section > div > div:first-child > a { margin-top: 4px; align-self: flex-start; }
    .services-section .grid { gap: 20px; margin-top: 0; }
    .services-section .grid > div { padding: 18px; margin-bottom: 0; }

    /* ── Service Flow Section ── */
    .service-flow-section { padding-top: 48px; padding-bottom: 88px; }
    .service-flow-section .grid { gap: 32px; }

    /* ── Booking Form Card ── */
    .booking-section { padding: 24px 0 112px; }
    .booking-shell { padding: 0 14px; }
    .booking-card { border-radius: 20px; }
    .booking-support-panel { display: none; }
    .booking-form-panel { padding: 26px 18px 32px; }
    .booking-form-heading { margin-bottom: 18px; }
    .booking-form-heading h2 { font-size: 24px; }
    .booking-whatsapp-cta { margin-bottom: 24px; }
    .booking-form { gap: 22px; }
    .booking-payment-options { padding-top: 2px; margin-top: 4px; margin-bottom: 8px; }
    .booking-submit-area { margin-top: 28px; padding-bottom: 6px; }
    .booking-note { margin-top: 20px; padding: 0 4px; font-size: 13px; }

    /* ── FAQ Section ── */
    #faq { padding-top: 48px; padding-bottom: 104px; }
    #faq > div { padding-left: 16px; padding-right: 16px; }
    #faq .space-y-4 { display: grid; gap: 16px; }
    #faq .space-y-4 > div { margin-top: 0; padding: 20px; }

    /* ── Footer ── */
    #layout-footer footer { padding-top: 48px; padding-bottom: 120px; }

    /* ── Booking Request Toast ── */
    .booking-request-toast { right: 12px; bottom: 88px; width: calc(100vw - 24px); padding: 11px 10px; }
    .booking-request-toast__icon { width: 30px; height: 30px; }
    .booking-request-toast__text { font-size: 12px; }
}
