@media (max-width: 1024px) {
    .dental-form .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .dental-form .message-field {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .dental-form input,
    .dental-form select,
    .dental-form textarea {
        padding: 17px 18px;
        font-size: 18px;
        line-height: 1.35;
    }

    .dental-form select {
        padding-right: 52px;
        background-position: right 18px center;
    }

    .dental-form .days-row {
        align-items: flex-start;
        gap: 14px 18px;
    }

    .dental-form .days-row strong,
    .dental-form .wpcf7-list-item label {
        font-size: 18px;
        line-height: 1.35;
    }
}

@media (max-width: 767px) {

    .review-carousel .elementor-swiper-button,
    .review-carousel .swiper-pagination {
        display: none !important;
    }

    .ask-question-form .ask-form-dots {
        position: static;
        margin-top: 15px;
        justify-content: center;
    }

    .dental-form .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dental-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .dental-form select,
    .dental-form textarea {
        min-height: 58px;
        padding: 15px 16px;
        border-radius: 8px;
        font-size: 16px;
        line-height: 1.35;
    }

    .dental-form select {
        padding-right: 48px;
        background-position: right 16px center;
    }

    .dental-form .message-field {
        grid-column: auto;
        grid-row: auto;
    }

    .dental-form textarea {
        min-height: 150px;
    }

    .dental-form .days-row {
        display: block;
        margin-top: 24px;
    }

    .dental-form .days-row strong {
        display: block;
        padding-right: 0 !important;
        margin-bottom: 14px;
        font-size: 18px;
        line-height: 1.35;
    }

    .dental-form .wpcf7-checkbox {
        display: grid;
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 14px 18px;
    }

    .dental-form .wpcf7-list-item {
        margin: 0;
    }

    .dental-form .wpcf7-list-item label {
        align-items: center;
        gap: 10px;
        font-size: 16px;
        line-height: 1.35;
    }

    .dental-form input[type="checkbox"] {
        width: 20px;
        min-width: 20px;
        height: 20px;
        min-height: 20px;
        padding: 0;
        border-radius: 5px;
    }

    .dental-form .submit-wrap {
        margin-top: 28px;
        text-align: left;
    }

    .dental-form input[type="submit"] {
        font-size: 20px;
        line-height: 1.3;
    }
}

@media (max-width: 420px) {
    .dental-form .wpcf7-checkbox {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dfd-reveal-ready .reveal,
    .dfd-reveal-ready .reveal-image,
    .dfd-reveal-ready .reveal-card {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}
