/* ============================================
   MEDICA CERTO — Main Styles
   ============================================ */

/* ── Utilities ── */

/* ── Splash Screen ── */

.splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-700);
}

.splash__icon {
    width: 120px;
    height: auto;
}

/* ── Container ── */

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ── Typography ── */

h1 strong,
h2 strong,
h3 strong {
    font-family: var(--font-family-accent);
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.04em;
}

p strong {
    font-weight: 700;
}

/* ── Buttons ── */

button {
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;

    &:hover {
        transform: scale(1.03);
    }

    &:active {
        transform: scale(0.97);
    }

    &:hover>div:last-child>svg {
        transform: translate(2px, -2px);
    }

    &>div:first-child {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 56px;
        padding: 0px 22px;
        background-color: var(--color-primary-800);
        border-radius: 9999px;
        color: #F1F2F4;
        font-family: var(--font-family-primary);
        font-size: 18px;
        font-weight: 500;
        letter-spacing: -0.04em;
        white-space: nowrap;
        transition: background-color 0.3s ease;

        @media (max-width: 768px) {
            height: 42px;
            padding: 0 18px;
            font-size: 16px;
        }
    }

    &>div:last-child {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        background-color: var(--color-primary-800);
        border-radius: 50%;
        transition: background-color 0.3s ease, transform 0.3s ease;

        @media (max-width: 768px) {
            width: 42px;
            height: 42px;
        }

        &>svg {
            width: 17px;
            height: 17px;
            transition: transform 0.3s ease;

            @media (max-width: 768px) {
                width: 14px;
                height: 14px;
            }
        }
    }
}

/* ── Sections ── */

.section {
    padding-block: 5rem;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .container {
        padding-inline: 1rem;
    }

    .section {
        padding-block: 3rem;
    }
}