/**
 * Contact page — cards + layout (loads outside Vite).
 */

.contact-page {
    width: 100%;
}

.contact-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.5rem 1.35rem 1.6rem;
    border-radius: 3px;
    border: 1px solid #e7e5e4;
    background: linear-gradient(165deg, #ffffff 0%, #fafaf9 100%);
    box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04), 0 4px 24px rgba(28, 25, 23, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
    border-color: #d6d3d1;
    box-shadow: 0 4px 12px rgba(28, 25, 23, 0.08), 0 12px 40px rgba(28, 25, 23, 0.08);
}

.contact-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
    background: linear-gradient(180deg, #c99d4f 0%, #83582c 100%);
    opacity: 0.85;
}

.contact-card__label {
    padding-left: 0.65rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #83582c;
}

.contact-card__value {
    margin-top: 0.75rem;
    padding-left: 0.65rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #1c1917;
}

.contact-card__value a {
    color: #1c1917;
    text-decoration: none;
    transition: color 0.15s ease;
}

.contact-card__value a:hover {
    color: #83582c;
}

.contact-card__hint {
    margin-top: 0.75rem;
    padding-left: 0.65rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #78716c;
}

.contact-note {
    margin-top: 2.5rem;
    padding: 1.25rem 1.35rem;
    border-radius: 3px;
    border: 1px solid #e7e5e4;
    background: rgba(250, 250, 249, 0.9);
    font-size: 0.875rem;
    line-height: 1.65;
    color: #57534e;
}

.contact-cta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem 1.5rem;
    border-radius: 4px;
    border: 1px solid #292524;
    background: linear-gradient(125deg, #1c1917 0%, #292524 45%, #1c1917 100%);
    color: #fff;
    box-shadow: 0 8px 32px rgba(28, 25, 23, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (min-width: 640px) {
    .contact-cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 2.25rem 2rem;
    }
}

.contact-cta__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(251, 247, 239, 0.85);
}

.contact-cta__text {
    margin-top: 0.35rem;
    max-width: 28rem;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.45;
    color: #fafaf9;
}

.contact-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-cta__btn--primary {
    background: #fff;
    color: #1c1917;
}

.contact-cta__btn--primary:hover {
    background: #f5ebd6;
}

.contact-cta__btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: transparent;
}

.contact-cta__btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
}
