/* InJob.az — Contact page v2 */

.contact-page {
    background: var(--background);
}

.cp {
    overflow: hidden;
}

/* ========== Main stage (split layout) ========== */
.cp-stage {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(165deg, #061428 0%, #0a1f3d 38%, #0f2d5c 100%);
    overflow: hidden;
}

.cp-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

.cp-stage__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.cp-stage__glow--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -80px;
    background: rgba(37, 99, 235, 0.35);
}

.cp-stage__glow--2 {
    width: 320px;
    height: 320px;
    bottom: -60px;
    right: 10%;
    background: rgba(96, 165, 250, 0.2);
}

.cp-stage__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: stretch;
}

/* ---- Left info panel ---- */
.cp-info {
    display: flex;
    flex-direction: column;
    color: #fff;
}

.cp-info__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(0.5rem, 2vw, 1rem) 0;
}

.cp-info__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.4rem 0.95rem 0.4rem 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(10px);
}

.cp-info__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
    animation: cp-dot-pulse 2.5s ease-in-out infinite;
}

@keyframes cp-dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.cp-info__title {
    margin: 0 0 0.75rem;
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: #fff;
}

.cp-info__lead {
    margin: 0 0 2rem;
    max-width: 38ch;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

.cp-info__stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.cp-channel {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.1rem;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

a.cp-channel:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(147, 197, 253, 0.35);
    transform: translateX(4px);
}

.cp-channel--static {
    cursor: default;
}

.cp-channel__icon {
    flex-shrink: 0;
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgba(96, 165, 250, 0.15);
    color: #93c5fd;
    font-size: 0.95rem;
}

.cp-channel__body {
    flex: 1;
    min-width: 0;
}

.cp-channel__label {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(191, 219, 254, 0.75);
}

.cp-channel__value {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
}

.cp-channel__ext {
    flex-shrink: 0;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.2s, transform 0.2s;
}

a.cp-channel:hover .cp-channel__ext {
    color: #93c5fd;
    transform: translate(2px, -2px);
}

.cp-info__footer {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cp-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #dbeafe;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(147, 197, 253, 0.25);
    border-radius: var(--radius-pill);
}

.cp-pill i {
    color: #60a5fa;
    font-size: 0.75rem;
}

.cp-social__label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(191, 219, 254, 0.65);
}

.cp-social__links {
    display: flex;
    gap: 0.45rem;
}

.cp-social__links a {
    width: 2.35rem;
    height: 2.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.cp-social__links a:hover {
    background: rgba(37, 99, 235, 0.45);
    border-color: rgba(147, 197, 253, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

/* ---- Form panel ---- */
.cp-form-wrap {
    display: flex;
    align-items: stretch;
}

.cp-form-card {
    position: relative;
    flex: 1;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    box-shadow:
        0 0 0 1px rgba(15, 45, 92, 0.04),
        0 24px 64px rgba(0, 0, 0, 0.28),
        0 8px 24px rgba(15, 45, 92, 0.12);
    overflow: hidden;
}

.cp-form-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #60a5fa 50%, #a78bfa 100%);
}

.cp-form-card__head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.cp-form-card__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(96, 165, 250, 0.08) 100%);
    color: var(--primary);
    font-size: 1.1rem;
}

.cp-form-card__head h2 {
    margin: 0 0 0.3rem;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--text);
}

.cp-form-card__head p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.cp-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.cp-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cp-input label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
}

.cp-input__box {
    position: relative;
    display: flex;
    align-items: center;
}

.cp-input__box > i {
    position: absolute;
    left: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    pointer-events: none;
    z-index: 1;
    transition: color 0.2s;
}

.cp-input__box--area {
    align-items: flex-start;
}

.cp-input__box--area > i {
    top: 1rem;
}

.cp-input__box input,
.cp-input__box textarea {
    width: 100%;
    padding: 0.88rem 1rem 0.88rem 2.7rem;
    font: inherit;
    font-size: 0.92rem;
    color: var(--text);
    background: var(--background);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.cp-input__box textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.55;
    padding-top: 0.88rem;
}

.cp-input__box input:focus,
.cp-input__box textarea:focus {
    outline: none;
    background: var(--surface);
    border-color: var(--primary);
    box-shadow: var(--focus-ring);
}

.cp-input__box:focus-within > i {
    color: var(--primary);
}

.cp-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.25rem;
    padding: 1rem 1.5rem;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: var(--gradient);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
    transition: transform 0.22s, box-shadow 0.22s, opacity 0.22s;
}

.cp-form__submit i {
    font-size: 0.85rem;
    transition: transform 0.22s;
}

.cp-form__submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.42);
}

.cp-form__submit:hover:not(:disabled) i {
    transform: translateX(3px);
}

.cp-form__submit:disabled,
.cp-form__submit.is-sending {
    opacity: 0.7;
    pointer-events: none;
    cursor: wait;
}

/* ========== Quick help section ========== */
.cp-help {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: var(--background);
}

.cp-help__head {
    margin-bottom: 1.5rem;
}

.cp-help__head h3 {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.cp-help__head p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    max-width: 52ch;
    line-height: 1.55;
}

.cp-help__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.cp-help-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.25rem;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.cp-help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    opacity: 0;
    transition: opacity 0.25s;
}

.cp-help-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.cp-help-card:hover::before {
    opacity: 1;
}

.cp-help-card__num {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(37, 99, 235, 0.06);
    letter-spacing: -0.04em;
    pointer-events: none;
}

.cp-help-card__icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--violet-subtle);
    color: var(--primary);
    font-size: 1rem;
}

.cp-help-card__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.cp-help-card__text strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}

.cp-help-card__text span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.cp-help-card__arrow {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s, transform 0.25s, color 0.25s;
}

.cp-help-card:hover .cp-help-card__arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .cp-stage__grid {
        grid-template-columns: 1fr;
    }

    .cp-info__lead {
        max-width: none;
    }

    .cp-form-card {
        box-shadow:
            0 0 0 1px rgba(15, 45, 92, 0.04),
            0 16px 48px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 768px) {
    .cp-form__row {
        grid-template-columns: 1fr;
    }

    .cp-help__grid {
        grid-template-columns: 1fr;
    }

    .cp-info__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .cp-form-card {
        padding: 1.25rem;
    }

    .cp-form-card__head {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-info__dot {
        animation: none;
    }
}
