/* Get in Touch section — mobile-first, CSS Grid, BEM */

.get-in-touch {
    --get-in-touch-text: #0a0a0a;
    --get-in-touch-text-muted: #737373;
    --get-in-touch-border: #d4d4d4;

    background-color: #f7f7f7;
    background-image: var(--get-in-touch-bg-image);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    padding: 4.5rem var(--container-padding);
}

.get-in-touch__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    display: grid;
    justify-items: center;
    gap: 2rem;
    text-align: center;
}

.get-in-touch__header {
    display: grid;
    gap: 1rem;
    max-width: 48rem;
    justify-items: center;
}

.get-in-touch__eyebrow {
    margin: 0;
    font-family: var(--font-family);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.get-in-touch__title {
    margin: 0;
    font-family: var(--font-family);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03125rem;
    color: var(--get-in-touch-text);
}

.get-in-touch__description {
    margin: 0;
    max-width: 38rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--get-in-touch-text-muted);
}

.get-in-touch__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
    width: 100%;
    max-width: 22rem;
}

.get-in-touch__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.625rem 1.75rem;
    border-radius: 3.125rem;
    border: 1px solid transparent;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.get-in-touch__btn--primary {
    color: #ffffff;
    background-color: var(--color-primary);
}

.get-in-touch__btn--primary:hover,
.get-in-touch__btn--primary:focus-visible {
    background-color: var(--color-primary-hover);
}

.get-in-touch__btn--secondary {
    color: var(--get-in-touch-text);
    background-color: #ffffff;
    border-color: var(--get-in-touch-border);
}

.get-in-touch__btn--secondary:hover,
.get-in-touch__btn--secondary:focus-visible {
    border-color: var(--get-in-touch-text);
    background-color: #ffffff;
}

.get-in-touch__btn:focus-visible {
    outline: 2px solid var(--get-in-touch-text);
    outline-offset: 2px;
}

/* Tablet */
@media (min-width: 48rem) {
    .get-in-touch {
        padding: 5.5rem var(--container-padding);
    }

    .get-in-touch__inner {
        gap: 2.25rem;
    }

    .get-in-touch__header {
        max-width: 52rem;
        gap: 1.125rem;
    }

    .get-in-touch__title {
        font-size: 2.5rem;
    }

    .get-in-touch__description {
        font-size: 1.0625rem;
        max-width: 42rem;
    }

    .get-in-touch__actions {
        grid-template-columns: auto auto;
        width: auto;
        max-width: none;
        gap: 1rem;
    }
}

/* Desktop */
@media (min-width: 64rem) {
    .get-in-touch {
        min-height: 45.5rem;
        padding: 7.5rem var(--container-padding);
        background-size: cover;
        background-position: bottom center;
        display: grid;
        align-content: center;
    }

    .get-in-touch__header {
        max-width: 56rem;
    }

    .get-in-touch__title {
        font-size: 3rem;
        letter-spacing: -0.05rem;
    }

    .get-in-touch__description {
        font-size: 1.125rem;
        max-width: 44rem;
    }

    .get-in-touch__btn {
        min-height: 3rem;
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}
