/* ==========================================================================
   ConvertItems — Contact Page
   ========================================================================== */

.contact-page {
    width: 100%;
    padding: 50px 20px 70px;
}

.contact-container {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.contact-header {
    text-align: center;
    margin-bottom: 28px;
}

.contact-header h1 {
    margin: 0 0 10px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 800;
    color: var(--text-color);
}

.contact-header h1 span {
    color: var(--accent-color);
}

.contact-header p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Contact Card
   -------------------------------------------------------------------------- */

.contact-card {
    width: 100%;
    margin: 0 auto;
    padding: 26px 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    background: var(--accent-soft);
    border-radius: 12px;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-details {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.contact-email,
.contact-developer {
    display: inline-block;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
}

.contact-email {
    white-space: nowrap;
}

.contact-email:hover,
.contact-developer:hover {
    color: var(--accent-color);
}

.contact-divider {
    height: 1px;
    margin: 20px 0;
    background: var(--border-color);
}

/* --------------------------------------------------------------------------
   Help Section
   -------------------------------------------------------------------------- */

.contact-help {
    margin-top: 24px;
    padding: 28px 30px;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.contact-help h2 {
    margin: 0 0 9px;
    color: var(--text-color);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 750;
}

.contact-help p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 18px;
    padding: 0 22px;
    border-radius: 10px;
    background: var(--accent-color);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.contact-button:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.contact-button:focus-visible,
.contact-email:focus-visible,
.contact-developer:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Screen Reader Only
   -------------------------------------------------------------------------- */

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .contact-container {
        width: 90%;
    }
}

@media (max-width: 640px) {
    .contact-page {
        padding: 35px 16px 55px;
    }

    .contact-container {
        width: 100%;
        max-width: none;
    }

    .contact-header {
        margin-bottom: 22px;
    }

    .contact-header h1 {
        font-size: 30px;
    }

    .contact-header p {
        font-size: 14px;
    }

    .contact-card {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 10px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-email,
    .contact-developer {
        font-size: 15px;
    }

    .contact-help {
        padding: 24px 18px;
        border-radius: 14px;
    }
}

@media (max-width: 380px) {
    .contact-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .contact-card {
        padding-left: 14px;
        padding-right: 14px;
    }

    .contact-item {
        gap: 9px;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .contact-email,
    .contact-developer {
        font-size: 14px;
    }
}