/* =============================================================================
   FILE: media.css
   Responsive overrides for the Kebot theme (breakpoints and mobile layouts).
   Each START/END block marks one responsive region.
   ============================================================================= */

/* =============================================================================
   START: Desktop Nav (≥992px)
   Larger navigation link size on desktop widths.
   ============================================================================= */
@media (min-width: 992px) {
    .nav__link {
        font-size: 24px;
    }
}
/* === END: Desktop Nav (≥992px) === */

/* =============================================================================
   START: Large Desktop (≤1440px)
   Slightly tighter container padding.
   ============================================================================= */
@media (max-width: 1440px) {
    .container {
        padding: 0 80px;
    }
}
/* === END: Large Desktop (≤1440px) === */

/* =============================================================================
   START: Tablet / Mobile Nav (≤991px)
   Full-screen burger menu, staggered link animations, header adjustments.
   ============================================================================= */
@media (max-width: 991px) {
    .container {
        padding: 0 40px;
    }

    .header {
        min-height: auto;
        padding: 10px 0;
    }

    .header__inner {
        min-height: auto;
        gap: 16px;
    }

    .logo img {
        width: 64px;
        height: 64px;
    }

    .nav {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        margin-left: 0;
        background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 72px 24px 40px;
        gap: 32px;
        box-shadow: none;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav.active {
        transform: translateX(0);
    }

    .nav__logo {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 28px;
        margin-bottom: 12px;
        opacity: 0;
        transform: translateY(-12px);
        transition: opacity 0.65s ease, transform 0.65s ease;
    }

    .nav.active .nav__logo {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.12s;
    }

    .nav__logo img {
        width: 108px;
        height: 108px;
    }

    .nav__links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        flex: 1;
    }

    .nav__links--pc {
        display: none;
    }

    .nav__links--mobile {
        display: flex;
    }
    
    .nav__links--mobile .nav__link {
        font-family: var(--font-futura);
        font-size: 30px;
        line-height: 1.2;
        font-weight: 400;
        padding: 16px 0;
        border-bottom: none;
        text-align: center;
        width: 100%;
        max-width: 300px;
        letter-spacing: -0.02em;
        opacity: 0;
        transition: opacity 0.9s ease, transform 0.9s ease;
    }

    .nav__links--mobile .nav__link:nth-child(odd) {
        transform: translateX(-36px);
    }

    .nav__links--mobile .nav__link:nth-child(even) {
        transform: translateX(36px);
    }

    .nav.active .nav__links--mobile .nav__link {
        opacity: 1;
        transform: translateX(0);
    }

    .nav.active .nav__links--mobile .nav__link:nth-child(1) { transition-delay: 0.22s; }
    .nav.active .nav__links--mobile .nav__link:nth-child(2) { transition-delay: 0.40s; }
    .nav.active .nav__links--mobile .nav__link:nth-child(3) { transition-delay: 0.58s; }
    .nav.active .nav__links--mobile .nav__link:nth-child(4) { transition-delay: 0.76s; }
    .nav.active .nav__links--mobile .nav__link:nth-child(5) { transition-delay: 0.94s; }
    .nav.active .nav__links--mobile .nav__link:nth-child(6) { transition-delay: 1.12s; }
    .nav.active .nav__links--mobile .nav__link:nth-child(7) { transition-delay: 1.30s; }
    .nav.active .nav__links--mobile .nav__link:nth-child(8) { transition-delay: 1.48s; }

    a.nav__cta.btn {
        display: inline-flex;
        width: min(280px, 100%);
        margin-top: auto;
        margin-bottom: 12px;
        min-height: 52px;
        font-size: 18px;
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.75s ease, transform 0.75s ease, background 0.2s;
    }

    .nav.active a.nav__cta.btn {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 1.25s;
    }
    
    .burger {
        display: flex;
    }
    
    .header__actions .btn--primary {
        display: none;
    }
}
/* === END: Tablet / Mobile Nav (≤991px) === */

/* =============================================================================
   START: Hero Tablet (≤1024px)
   Hero height, title size, buttons, and info-cards grid tweaks.
   ============================================================================= */
@media (max-width: 1024px) {
    .hero {
        min-height: 620px;
        height: auto;
    }

    .hero__title {
        font-size: 48px;
    }

    .hero__buttons {
        gap: 20px;
    }

    .hero__buttons .btn--green {
        min-width: 190px;
    }
    
    .info-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 24px;
        padding: 20px 24px;
        max-width: 100%;
    }

    .info-card__text {
        font-size: 15px;
    }
}
/* === END: Hero Tablet (≤1024px) === */

/* =============================================================================
   START: Hero Centered (≤860px)
   Centers hero content and stacks info cards for smaller tablets.
   ============================================================================= */
@media (max-width: 860px) {
    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
        min-height: 0;
    }

    .social-icons {
        justify-content: center;
    }

    .happy-patients {
        justify-content: center;
    }

    .hero__title {
        text-align: center;
    }

    .hero__buttons {
        align-items: center;
        justify-content: center;
    }

    .info-cards {
        grid-template-columns: 1fr;
        row-gap: 18px;
        padding: 22px 24px;
        max-width: 360px;
        margin-top: 0;
        margin-bottom: 0;
        width: 100%;
    }

    .info-card {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        text-align: left;
        width: 100%;
        min-height: 64px;
    }

    .info-card__icon,
    .info-card__icon--location,
    .info-card__icon--calendar,
    .info-card__icon--doctor {
        width: 40px;
        height: 40px;
    }

    .info-card__text {
        font-size: 16px;
        line-height: 1.3;
    }
}
/* === END: Hero Centered (≤860px) === */

/* =============================================================================
   START: General Mobile (≤768px)
   Global mobile spacing, hero, and early section adjustments.
   ============================================================================= */
@media (max-width: 768px) {
    body {
        padding-top: 0;
        font-size: 17px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero {
        min-height: 0;
        height: auto;
    }
    
    .hero__slide {
        flex-direction: column;
        padding: 20px 0 52px;
        min-height: 0;
        height: auto;
    }

    .hero__slide > .container {
        flex: none;
        display: flex;
        flex-direction: column;
    }

    .hero__bg img {
        object-fit: cover;
        object-position: center 28%;
    }

    .hero__content-wrap {
        flex: none;
        min-height: 0 !important;
        height: auto;
        display: block;
    }

    .hero__content-panel:not(.active) {
        display: none !important;
    }

    .hero__content-panel.active {
        display: flex;
        position: relative;
    }

    .hero__content {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        padding: 0;
        flex: none;
        min-height: 0;
        align-items: center;
        text-align: center;
    }
    
    .hero__title {
        font-size: 36px;
        line-height: 1.12;
        letter-spacing: -0.03em;
        max-width: 100%;
        margin-bottom: 18px;
        text-align: center;
        text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    }
    
    .social-icons {
        margin-bottom: 16px;
        justify-content: center;
        gap: 12px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .happy-patients {
        margin-bottom: 18px;
        justify-content: center;
        gap: 10px;
    }
    
    .happy-patients__avatars img {
        width: 34px;
        height: 34px;
    }

    .happy-patients__count {
        font-size: 24px;
        line-height: 1.2;
    }

    .happy-patients__label {
        font-size: 15px;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 18px;
        width: 100%;
        padding: 0;
    }
    
    .hero__buttons .btn--green,
    .hero__buttons .btn--phone {
        width: 100%;
        max-width: none;
        min-width: 0;
        justify-content: center;
        font-size: 18px;
        min-height: 52px;
    }

    .hero__buttons .btn--green {
        padding: 14px 24px;
    }

    .hero__buttons .btn--phone {
        padding: 13px 20px;
    }
    
    .info-cards {
        max-width: none;
        width: 100%;
        margin: 0;
        margin-top: 0;
        margin-bottom: 0;
        padding: 16px 16px;
        border-radius: 20px;
        row-gap: 14px;
        min-height: 0;
    }
    
    .info-card {
        gap: 12px;
        min-height: 0;
    }
    
    .info-card__text {
        font-size: 15px;
        line-height: 1.35;
    }
    
    .slider-arrow {
        display: none;
    }

    .slider-dots {
        bottom: 14px;
        gap: 10px;
    }
}
/* === END: General Mobile (≤768px) === */

/* =============================================================================
   START: Small Phones (≤480px)
   Mobile menu type size, hero CTA, and info-cards on small phones.
   ============================================================================= */
@media (max-width: 480px) {
    .nav__links--mobile .nav__link {
        font-size: 28px;
        padding: 14px 0;
    }

    .nav {
        padding-top: 64px;
    }

    .nav__logo {
        margin-top: 20px;
    }

    .nav__logo img {
        width: 96px;
        height: 96px;
    }

    .container {
        padding: 0 16px;
    }

    .hero__slide {
        padding-top: 16px;
        padding-bottom: 48px;
    }

    .hero__bg img {
        object-position: center 22%;
    }

    .hero__title {
        font-size: 32px;
        line-height: 1.12;
        margin-bottom: 14px;
    }

    .social-icons {
        margin-bottom: 12px;
    }
    
    .happy-patients {
        margin-bottom: 14px;
    }

    .happy-patients__count {
        font-size: 22px;
    }

    .happy-patients__label {
        font-size: 14px;
    }

    .hero__buttons {
        gap: 10px;
        margin-bottom: 14px;
        padding: 0;
    }

    .hero__buttons .btn--green,
    .hero__buttons .btn--phone {
        font-size: 17px;
        min-height: 50px;
    }
    
    .info-cards {
        padding: 14px 14px;
        row-gap: 12px;
        border-radius: 18px;
    }
    
    .info-card {
        gap: 10px;
        min-height: 0;
    }

    .info-card__text {
        font-size: 14px;
        line-height: 1.35;
    }

    .info-card__icon,
    .info-card__icon--location,
    .info-card__icon--calendar,
    .info-card__icon--doctor {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
    }
}
/* === END: Small Phones (≤480px) === */

/* =============================================================================
   START: Hero Arrows (≤1280px)
   Pulls hero slider arrows closer to the edges on mid-width screens.
   ============================================================================= */
@media (max-width: 1280px) {
    .slider-arrow--prev {
        left: 16px;
    }

    .slider-arrow--next {
        right: 16px;
    }
}
/* === END: Hero Arrows (≤1280px) === */

/* =============================================================================
   START: Reviews & Mid Sections Responsive
   Reviews (≤1200/768) plus nested mobile rules for directions, doctors,
   works, certificates, and pricing inside the ≤768px query.
   ============================================================================= */

@media (max-width: 1200px) {
    .reviews {
        padding: 62px 0 72px;
    }

    .reviews__title {
        font-size: 44px;
    }

    .reviews__subtitle {
        font-size: 15px;
    }

    .reviews__content {
        gap: 24px;
    }

    .reviews__left {
        flex-basis: 320px;
    }

    .review-card {
        min-height: 220px;
        padding: 22px 24px 38px;
        border-radius: 28px;
    }

    .review-card__date {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .review-card__name {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .review-card__text {
        font-size: 13px;
    }

    .review-card__quote img {
        width: 54px;
        height: 54px;
    }

    .reviews__pagination {
        width: 320px;
        top: calc(220px + 22px);
    }

    .video-preview {
        width: 100%;
        max-width: none;
        min-height: 246px;
        height: 246px;
    }

    .video-preview__play {
        width: 74px;
        height: 74px;
    }

    .video-preview__play svg {
        width: 24px;
        height: 24px;
    }
}

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

    .reviews__header {
        margin-bottom: 34px;
    }

    .reviews__title {
        font-size: 36px;
        margin-bottom: 6px;
    }

    .reviews__subtitle {
        font-size: 20px;
    }

    .reviews__content {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    
    .reviews__left {
        flex: 0 0 auto;
        width: 100%;
        max-width: 460px;
    }
    
    .reviews__video {
        width: 100%;
    }

    .review-card {
        min-height: 246px;
        padding: 22px 20px 38px;
        border-radius: 22px;
    }

    .review-card__date {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .review-card__name {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .review-card__text {
        font-size: 15px;
        line-height: 1.4;
    }

    .review-card__quote {
        bottom: 10px;
        right: 14px;
    }

    .review-card__quote img {
        width: 66px;
        height: 66px;
    }

    .video-preview {
        width: 100%;
        max-width: 460px;
        min-height: 220px;
        height: 220px;
        margin: 0 auto;
    }

    .video-preview__play {
        width: 82px;
        height: 82px;
    }

    .video-preview__play svg {
        width: 28px;
        height: 28px;
    }

    .reviews__pagination {
        position: static;
        top: auto;
        left: auto;
        margin-top: 18px;
        gap: 12px;
        width: 100%;
        max-width: 460px;
        justify-content: center;
    }

    .reviews__dot {
        width: 10px;
        height: 10px;
    }
    
    .green-text-section {
        padding: 30px 0;
    }
    
    .green-text {
        font-size: 18px;
        padding: 0 15px;
        line-height: 1.45;
    }

    .promos__title {
        font-size: 32px;
    }

    .promos__subtitle {
        font-size: 15px;
    }
    
    .promos__arrow {
        display: none;
    }

    .promo-card {
        flex-direction: column;
        height: auto;
        min-height: 0;
    }

    .promo-card__info {
        flex: 0 0 auto;
        padding: 30px 25px;
    }

    .promo-card__title {
        font-size: 26px;
        font-weight: 700;
        -webkit-line-clamp: 3;
    }

    .promo-card__text {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.45;
        -webkit-line-clamp: 5;
    }

    .promo-card__btn {
        min-width: 100%;
        padding: 14px 28px;
        font-size: 16px;
        margin-top: 8px;
    }

    .promo-card__image {
        height: 220px;
        flex: 0 0 220px;
    }

    .promo-card__image img {
        object-fit: cover;
        object-position: center;
    }

    .promos-swiper {
        padding: 0 2px;
    }

    .promos-swiper .swiper-slide {
        box-sizing: border-box;
    }

    /* Directions Section Mobile */
    .directions__title {
        font-size: 32px;
    }

    .directions__subtitle {
        font-size: 15px;
    }

    .directions__arrow {
        display: none;
    }

    .directions__slider-wrap {
        padding: 0;
    }

    .directions-swiper .swiper-slide {
        width: 100% !important;
    }

    .dir-card {
        flex-direction: column;
    }

    .dir-card__image {
        height: 200px;
        flex: 0 0 auto;
    }

    .dir-card__body {
        padding: 25px 20px;
    }

    .dir-card__title {
        font-size: 24px;
    }

    .dir-card__list li {
        font-size: 15px;
        line-height: 1.45;
    }

    .dir-card__btn {
        font-size: 15px;
    }

    /* Doctors Section Mobile */
    .doctors {
        padding: 60px 0 80px;
    }

    .doctors__title {
        font-size: 32px;
    }

    .doctors__subtitle {
        font-size: 16px;
        padding: 0 15px;
        line-height: 1.45;
    }

    .doctors__subtitle br {
        display: none;
    }

    .doctor-card__photo {
        width: 160px;
        height: 160px;
    }

    .doctor-card__photo::before {
        width: 172px;
        height: 122px;
        top: 52%;
        left: 50%;
        transform: translate(-50%, -32%);
    }

    .doctor-card__photo img {
        transform: translateY(4px);
    }

    .doctor-card__name {
        font-size: 17px;
    }

    .doctor-card__position,
    .doctor-card__exp {
        font-size: 13px;
        padding: 5px 12px;
    }

    .doctor-card__btn {
        padding: 10px 22px;
        font-size: 14px;
    }

    .doctors-pagination {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 25px;
    }

    /* Works Section Mobile */
    .works {
        padding: 50px 0 70px;
    }

    .works__title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .works__tabs {
        flex-wrap: wrap;
        gap: 15px 20px;
        margin-bottom: 25px;
    }

    .works__tab {
        font-size: 15px;
        padding: 8px 0;
    }

    .works__slider-wrap {
        gap: 10px;
        margin-bottom: 20px;
    }

    .works__arrow {
        width: 40px;
        height: 40px;
        display: none;
    }

    .work-card {
        padding: 15px;
        border-radius: 16px;
    }

    .work-card__images {
        flex-direction: column;
        gap: 15px;
    }

    .work-card__img-wrap img {
        height: 180px;
    }

    .work-card__label {
        font-size: 13px;
        padding: 5px 15px;
    }

    .works-pagination {
        margin-bottom: 20px;
    }

    .works__btn {
        padding: 14px 28px;
        font-size: 15px;
    }

    /* Certificates Section Mobile */
    .certificates {
        padding: 50px 0 70px;
    }

    .certificates__title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .certificates__slider-wrap {
        gap: 10px;
    }

    .certificates__arrow {
        width: 40px;
        height: 40px;
    }

    .certificate-card {
        border-radius: 12px;
    }

    .certificates-swiper .swiper-slide {
        padding: 0 10px;
    }

    .cert-lightbox {
        padding: 16px 56px;
    }

    .cert-lightbox__arrow {
        width: 40px;
        height: 40px;
    }

    .cert-lightbox__arrow--prev {
        left: 10px;
    }

    .cert-lightbox__arrow--next {
        right: 10px;
    }

    .dir-lightbox {
        padding: 16px 56px;
    }

    .dir-lightbox__arrow {
        width: 40px;
        height: 40px;
    }

    .dir-lightbox__arrow--prev {
        left: 10px;
    }

    .dir-lightbox__arrow--next {
        right: 10px;
    }

    .dir-lightbox__title {
        font-size: 22px;
    }

    .certificates-pagination {
        margin-top: 25px;
    }

    /* Pricing Section Mobile */
    .pricing {
        padding: 50px 0;
    }

    .pricing__subtitle {
        font-size: 15px;
    }

    .pricing__title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .pricing-swiper .swiper-wrapper {
        display: flex;
        gap: 0;
    }

    .pricing-pagination {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 25px;
    }

    .pricing-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: #d1d5db;
        border-radius: 50%;
        cursor: pointer;
    }

    .pricing-pagination .swiper-pagination-bullet-active {
        background: #22c55e;
        width: 24px;
        border-radius: 5px;
    }

    .pricing-card {
        padding: 25px 20px;
        min-height: 0;
    }

    .pricing-card:hover {
        transform: none;
    }

    .pricing-card__title {
        font-size: 22px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .pricing-card__list li {
        font-size: 15px;
    }

    .pricing-card__name {
        font-size: 15px;
    }

    .pricing-card__price {
        font-size: 15px;
    }
}
/* === END: Reviews & Mid Sections Responsive === */

/* =============================================================================
   START: Appointment / Contacts / Footer Mobile
   Mobile stacking for appointment, contacts, footer, and early modal rules.
   ============================================================================= */
@media (max-width: 768px) {
    .appointment {
        flex-direction: column;
        min-height: auto;
    }

    .appointment__content {
        padding: 40px 20px;
        order: 2;
    }

    .appointment__title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .appointment__text {
        font-size: 16px;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .appointment__form {
        margin-bottom: 20px;
    }

    .appointment__form-wrap {
        margin-bottom: 20px;
        max-width: none;
    }

    .appointment__field {
        flex-direction: column;
        gap: 8px;
    }

    .appointment__field--name {
        flex-direction: column;
    }

    .kebot-cf7-section-form .appointment__field--name > p {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .appointment__input {
        width: 100%;
        font-size: 16px;
    }

    .appointment__btn,
    .kebot-cf7-section-form input.wpcf7-submit.appointment__btn {
        width: 100%;
        min-width: 0;
        font-size: 15px;
        padding: 14px 0;
    }

    .appointment__image {
        min-height: 250px;
        order: 1;
    }

    /* Contacts Section Mobile */
    .contacts__title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .contacts__wrapper {
        flex-direction: column;
    }

    .contacts__card {
        padding: 30px 20px;
    }

    .contacts__card-title {
        font-size: 18px;
        line-height: 1.35;
    }

    .contacts__label {
        font-size: 14px;
    }

    .contacts__value,
    .contacts__link {
        font-size: 16px;
    }

    .contacts__map {
        height: 400px;
        min-height: 400px;
    }

    .contacts__map iframe {
        height: 400px;
    }

    /* Footer Mobile */
    .footer__wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .footer__left {
        max-width: 100%;
    }

    .footer__form {
        flex-direction: column;
    }

    .footer__btn {
        font-size: 15px;
        padding: 12px 22px;
    }

    .footer__privacy {
        font-size: 13px;
        line-height: 1.45;
    }

    .footer__title {
        font-size: 17px;
    }

    .footer__link {
        font-size: 14px;
    }

    .footer__copyright {
        font-size: 13px;
    }

    .footer__right {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
        width: 100%;
    }

    .footer__links,
    .footer__social {
        flex: 1;
    }

    /* Modal Mobile */
    .modal__title {
        font-size: 22px !important;
        margin-bottom: 24px;
    }

    .modal__label {
        font-size: 15px !important;
    }

    .modal__input {
        font-size: 16px !important;
    }

    .modal__btn {
        font-size: 16px !important;
    }

    .modal__privacy {
        font-size: 13px !important;
    }
}
/* === END: Appointment / Contacts / Footer Mobile === */

/* =============================================================================
   START: Why Us Responsive
   Why-us panel and cards adjustments for tablet and phones.
   ============================================================================= */
@media (max-width: 1279px) {
    .why-us-pagination {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .why-us {
        margin: 56px 0;
    }

    .why-us__panel {
        min-height: 640px;
        padding: 70px 0 64px;
        border-radius: 50% 50% 50% 50% / clamp(40px, 6.5vw, 72px) clamp(40px, 6.5vw, 72px) clamp(40px, 6.5vw, 72px) clamp(40px, 6.5vw, 72px);
    }

    .why-us__slider-wrap {
        gap: 14px;
    }

    .why-us__arrow {
        width: 42px;
        height: 42px;
    }

    .why-card {
        max-width: 210px;
    }
}

@media (max-width: 768px) {
    .why-us {
        min-height: 560px;
        padding: 64px 0 52px;
        border-radius: 50% 50% 0 0 / 56px 56px 0 0;
    }

    .why-us__label {
        font-size: 16px;
    }

    .why-us__title {
        font-size: 32px;
    }

    .why-us__header {
        margin-bottom: 28px;
    }

    .why-card {
        max-width: 200px;
        border-radius: 18px;
    }

    .why-card__text {
        font-size: 14px;
    }
}

@media (max-width: 639px) {
    .why-us__slider-wrap {
        gap: 0;
    }

    .why-us__arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .why-us {
        margin: 40px 0;
    }

    .why-us__panel {
        min-height: 500px;
        padding: 56px 0 44px;
        border-radius: 50% 50% 50% 50% / 32px 32px 32px 32px;
    }

    .why-us__label {
        font-size: 14px;
    }

    .why-us__title {
        font-size: 26px;
    }

    .why-card {
        max-width: 176px;
        padding: 22px 12px 18px;
        gap: 14px;
        border-radius: 16px;
    }

    .why-card__icon,
    .why-card__icon img {
        width: 48px;
        height: 48px;
    }

    .why-card__text {
        font-size: 14px;
        max-width: 140px;
    }
}
/* === END: Why Us Responsive === */

/* =============================================================================
   START: Modal Responsive
   Appointment modal single-column layout on small screens.
   ============================================================================= */
@media (max-width: 640px) {
    .modal__content {
        flex-direction: column;
    }

    .modal__right {
        width: 100%;
        height: 200px;
    }

    .modal__left {
        padding: 32px 24px;
    }
}
/* === END: Modal Responsive === */
