﻿/* ========================================================
   RAHMATPAY - RESPONSIVE DESIGN
   ======================================================== */

/* Large tablets and smaller desktops */

@media (max-width: 1024px) {
    :root {
        --header-height: 76px;
    }

    .section {
        padding-block: var(--space-16);
    }

    .container,
    .container-wide {
        width: min(calc(100% - 40px), var(--container-width));
    }
}

/* Tablets */

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .container,
    .container-wide {
        width: calc(100% - 36px);
    }

    .section {
        padding-block: var(--space-12);
    }

    .section-heading {
        margin-bottom: var(--space-8);
    }

    .section-description {
        font-size: var(--font-size-base);
    }

    .card {
        padding: var(--space-6);
    }

    .btn-lg {
        min-height: 52px;
        padding-inline: 24px;
    }
}

/* Mobile devices */

@media (max-width: 480px) {
    :root {
        --header-height: 64px;
    }

    .container,
    .container-wide {
        width: calc(100% - 32px);
    }

    .section {
        padding-block: var(--space-10);
    }

    .section-heading {
        margin-bottom: var(--space-6);
    }

    .section-title {
        font-size: clamp(1.85rem, 8vw, 2.5rem);
    }

    .section-description {
        font-size: var(--font-size-sm);
        line-height: var(--line-height-relaxed);
    }

    .card {
        padding: var(--space-5);
        border-radius: var(--radius-md);
    }

    .btn {
        min-height: 46px;
        padding-inline: 18px;
    }

    .btn-lg {
        width: 100%;
    }

    .eyebrow {
        font-size: 0.68rem;
    }
}

/* Motion accessibility */

@media (prefers-reduced-motion: reduce) {
    .card:hover,
    .btn:hover {
        transform: none;
    }
}
