 :root {
    --contact-blue: #0563df;
    --contact-blue-dark: #034ba8;
    --contact-cyan: #4cb5ff;
    --contact-teal: #00bfa6;
    --contact-dark: #07111f;
    --contact-text: #182638;
    --contact-muted: #718096;
    --contact-bg: #f5f8fc;
    --contact-white: #ffffff;
    --contact-border: #e4eaf2;
    --contact-radius: 24px;
}

/* =================================================
   MAIN
   ================================================= */

.puzzle-contact-page {
    direction: rtl;
    background: var(--contact-bg);
    color: var(--contact-text);
    overflow: hidden;
}

.pc-contact-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =================================================
   HERO
   ================================================= */

.pc-contact-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 25%, rgba(76, 181, 255, .18), transparent 28%),
        radial-gradient(circle at 15% 80%, rgba(0, 191, 166, .10), transparent 25%),
        var(--contact-dark);
}

.pc-contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, black, transparent);
    pointer-events: none;
}

.pc-contact-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    left: -220px;
    top: -180px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    box-shadow:
        0 0 0 80px rgba(255, 255, 255, .02),
        0 0 0 160px rgba(255, 255, 255, .015);
}

.pc-contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.pc-contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: #bcdcff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.pc-contact-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--contact-cyan);
    box-shadow: 0 0 15px rgba(76, 181, 255, .8);
}

.pc-contact-hero h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -2px;
}

.pc-contact-hero h1 span {
    display: block;
    background: linear-gradient(90deg, #fff, #8fd2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pc-contact-hero p {
    max-width: 650px;
    margin: 0;
    color: #aab8c9;
    font-size: 16px;
    line-height: 2;
}

.pc-contact-puzzle {
    position: absolute;
    left: 4%;
    bottom: -110px;
    width: 310px;
    height: 310px;
    border-radius: 70px;
    transform: rotate(18deg);
    background:
        linear-gradient(135deg,
            rgba(76, 181, 255, .18),
            rgba(5, 99, 223, .04));
    border: 1px solid rgba(76, 181, 255, .12);
    box-shadow:
        inset 0 0 80px rgba(76, 181, 255, .05),
        0 30px 100px rgba(0, 0, 0, .25);
}

.pc-contact-puzzle::before,
.pc-contact-puzzle::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--contact-dark);
}

.pc-contact-puzzle::before {
    width: 90px;
    height: 90px;
    top: -45px;
    left: 90px;
}

.pc-contact-puzzle::after {
    width: 90px;
    height: 90px;
    right: -45px;
    top: 100px;
}

/* =================================================
   WORKSPACE
   ================================================= */

.pc-contact-workspace {
    padding: 70px 0 40px;
}

.pc-contact-layout {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 22px;
    align-items: stretch;
}

/* =================================================
   LEFT SIDE
   ================================================= */

.pc-contact-side {
    position: relative;
    overflow: hidden;
    padding: 38px;
    border-radius: var(--contact-radius);
    background:
        radial-gradient(circle at 100% 0%, rgba(76, 181, 255, .14), transparent 35%),
        var(--contact-dark);
    color: #fff;
    box-shadow: 0 20px 60px rgba(7, 17, 31, .10);
}

.pc-contact-side::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -100px;
    bottom: -110px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
}

.pc-contact-side-label {
    position: relative;
    margin-bottom: 14px;
    color: #78c7ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.pc-contact-side h2 {
    position: relative;
    margin: 0 0 16px;
    color: #fff;
    font-size: 29px;
    line-height: 1.5;
    font-weight: 850;
}

.pc-contact-side>p {
    position: relative;
    margin: 0 0 30px;
    color: #9eacbd;
    font-size: 14px;
    line-height: 2;
}

/* Contact item */

.pc-contact-direct {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.pc-contact-direct:last-of-type {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.pc-contact-direct-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, .06);
    color: #8bd0ff;
    font-size: 16px;
    font-weight: 900;
}

.pc-contact-direct-text {
    min-width: 0;
}

.pc-contact-direct-text small {
    display: block;
    margin-bottom: 3px;
    color: #718096;
    font-size: 10px;
    font-weight: 700;
}

.pc-contact-direct-text a,
.pc-contact-direct-text span {
    color: #eef6ff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.pc-contact-direct-text a:hover {
    color: #7bc9ff;
}

/* Tags */

.pc-contact-tags {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.pc-contact-tag {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 9px;
    background: rgba(255, 255, 255, .035);
    color: #9eacbd;
    font-size: 10px;
}

/* =================================================
   RIGHT COMMUNICATION HUB
   ================================================= */

.pc-contact-form-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid var(--contact-border);
    border-radius: var(--contact-radius);
    background: #fff;
    box-shadow: 0 18px 60px rgba(24, 38, 56, .08);
}

.pc-contact-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(76, 181, 255, .13), transparent 68%);
    pointer-events: none;
}

.pc-contact-form-card-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.pc-contact-form-card-header-text {
    flex: 1;
}

.pc-contact-form-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: var(--contact-blue);
    font-size: 11px;
    font-weight: 850;
}

.pc-contact-form-kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--contact-blue);
}

.pc-contact-form-card h2 {
    margin: 0 0 9px;
    color: var(--contact-dark);
    font-size: 28px;
    line-height: 1.4;
    font-weight: 900;
}

.pc-contact-form-card-header p {
    max-width: 550px;
    margin: 0;
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 2;
}

.pc-contact-status {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid #dcefe9;
    border-radius: 999px;
    background: #f5fcfa;
    color: #15947e;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.pc-contact-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16b69b;
    box-shadow: 0 0 0 4px rgba(22, 182, 155, .10);
}

/* Start message */

.pc-contact-message-box {
    position: relative;
    margin-bottom: 25px;
    padding: 19px 20px;
    border: 1px solid #e5edf6;
    border-radius: 18px;
    background:
        linear-gradient(135deg, #f8fbff, #f5f9fd);
}

.pc-contact-message-box::before {
    content: "";
    position: absolute;
    top: 18px;
    right: 0;
    width: 3px;
    height: 42px;
    border-radius: 3px 0 0 3px;
    background: linear-gradient(to bottom, var(--contact-blue), var(--contact-cyan));
}

.pc-contact-message-box strong {
    display: block;
    margin-bottom: 5px;
    color: var(--contact-dark);
    font-size: 14px;
}

.pc-contact-message-box span {
    color: var(--contact-muted);
    font-size: 12px;
    line-height: 1.9;
}

/* Section title */

.pc-contact-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 13px;
}

.pc-contact-section-title strong {
    color: var(--contact-dark);
    font-size: 13px;
    font-weight: 850;
}

.pc-contact-section-title span {
    color: #9aa7b6;
    font-size: 10px;
}

/* Project options */

.pc-contact-project-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    margin-bottom: 26px;
}

.pc-contact-project-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    padding: 10px;
    border: 1px solid #e4eaf2;
    border-radius: 15px;
    background: #fff;
    color: #516173;
    text-decoration: none;
    text-align: center;
    font-size: 11px;
    font-weight: 750;
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

.pc-contact-project-option::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d8e1ec;
    transition: background .2s ease;
}

.pc-contact-project-option:hover {
    transform: translateY(-3px);
    border-color: #b8d5f7;
    background: #f7fbff;
    color: var(--contact-blue);
    box-shadow: 0 10px 25px rgba(5, 99, 223, .08);
}

.pc-contact-project-option:hover::before {
    background: var(--contact-blue);
}

/* Communication buttons */

.pc-contact-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-bottom: 24px;
}

.pc-contact-channel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    background: #fff;
    color: var(--contact-dark);
    text-decoration: none;
    overflow: hidden;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.pc-contact-channel::after {
    content: "↗";
    position: absolute;
    left: 14px;
    top: 13px;
    color: #a4b1c0;
    font-size: 13px;
    transition: transform .2s ease, color .2s ease;
}

.pc-contact-channel:hover {
    transform: translateY(-3px);
    border-color: #bcd7f7;
    box-shadow: 0 12px 30px rgba(24, 38, 56, .08);
}

.pc-contact-channel:hover::after {
    color: var(--contact-blue);
    transform: translate(2px, -2px);
}

.pc-contact-channel-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #f1f6fc;
    color: var(--contact-blue);
    font-size: 17px;
    font-weight: 900;
}

.pc-contact-channel-text {
    min-width: 0;
}

.pc-contact-channel-text strong {
    display: block;
    margin-bottom: 4px;
    color: var(--contact-dark);
    font-size: 12px;
}

.pc-contact-channel-text span {
    display: block;
    color: #8491a0;
    font-size: 10px;
    line-height: 1.6;
}

/* Main CTA */

.pc-contact-main-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, #0563df, #034ba8);
    box-shadow: 0 15px 35px rgba(5, 99, 223, .20);
}

.pc-contact-main-cta-text {
    min-width: 0;
}

.pc-contact-main-cta-text strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 13px;
}

.pc-contact-main-cta-text span {
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
    line-height: 1.7;
}

.pc-contact-main-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 145px;
    min-height: 45px;
    padding: 10px 17px;
    border-radius: 12px;
    background: #fff;
    color: var(--contact-blue-dark);
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.pc-contact-main-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

/* Location */

.pc-contact-location {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px solid #e7edf4;
    border-radius: 16px;
    background: #fbfcfe;
}

.pc-contact-location-info {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.pc-contact-location-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef5fd;
    color: var(--contact-blue);
    font-size: 14px;
    font-weight: 900;
}

.pc-contact-location-info strong {
    display: block;
    margin-bottom: 3px;
    color: var(--contact-dark);
    font-size: 11px;
}

.pc-contact-location-info span {
    color: #8a96a5;
    font-size: 9px;
}

.pc-contact-location>a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 9px;
    background: #edf5ff;
    color: var(--contact-blue);
    text-decoration: none;
    font-size: 9px;
    font-weight: 850;
    white-space: nowrap;
    transition: background .2s ease;
}

.pc-contact-location>a:hover {
    background: #dfeeff;
}

/* =================================================
   PROCESS
   ================================================= */

.pc-contact-process {
    padding: 50px 0 70px;
}

.pc-contact-process-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.pc-contact-process-head h2 {
    margin: 0;
    color: var(--contact-dark);
    font-size: 30px;
    font-weight: 900;
}

.pc-contact-process-head p {
    max-width: 470px;
    margin: 0;
    color: var(--contact-muted);
    font-size: 12px;
    line-height: 2;
}

.pc-contact-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.pc-contact-process-card {
    position: relative;
    padding: 25px;
    border: 1px solid var(--contact-border);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.pc-contact-process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(24, 38, 56, .07);
}

.pc-contact-process-number {
    display: block;
    margin-bottom: 25px;
    color: #c8d4e2;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.pc-contact-process-card h3 {
    margin: 0 0 8px;
    color: var(--contact-dark);
    font-size: 16px;
}

.pc-contact-process-card p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 11px;
    line-height: 1.9;
}

/* =================================================
   FINAL STATEMENT
   ================================================= */

.pc-contact-final {
    padding: 0 0 70px;
}

.pc-contact-final-box {
    position: relative;
    overflow: hidden;
    padding: 48px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 10% 20%, rgba(76, 181, 255, .16), transparent 28%),
        radial-gradient(circle at 90% 80%, rgba(0, 191, 166, .10), transparent 25%),
        var(--contact-dark);
    text-align: center;
}

.pc-contact-final-box::before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 20px;
}

.pc-contact-final-box h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    color: #fff;
    font-size: 32px;
    font-weight: 900;
}

.pc-contact-final-box p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #93a4b8;
    font-size: 12px;
    line-height: 2;
}

/* =================================================
   RESPONSIVE
   ================================================= */

@media (max-width:950px) {

    .pc-contact-layout {
        grid-template-columns: 1fr;
    }

    .pc-contact-side {
        order: 2;
    }

    .pc-contact-form-card {
        order: 1;
    }

    .pc-contact-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pc-contact-project-options {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width:650px) {

    .pc-contact-container {
        width: min(100% - 28px, 1180px);
    }

    .pc-contact-hero {
        min-height: 440px;
    }

    .pc-contact-hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .pc-contact-hero p {
        font-size: 13px;
    }

    .pc-contact-puzzle {
        left: -180px;
        bottom: -120px;
    }

    .pc-contact-workspace {
        padding: 40px 0 20px;
    }

    .pc-contact-side,
    .pc-contact-form-card {
        padding: 25px;
        border-radius: 20px;
    }

    .pc-contact-form-card-header {
        display: block;
    }

    .pc-contact-status {
        display: inline-flex;
        margin-top: 15px;
    }

    .pc-contact-form-card h2 {
        font-size: 24px;
    }

    .pc-contact-project-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .pc-contact-channels {
        grid-template-columns: 1fr;
    }

    .pc-contact-main-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .pc-contact-main-cta a {
        width: 100%;
    }

    .pc-contact-location {
        align-items: stretch;
        flex-direction: column;
    }

    .pc-contact-location>a {
        width: 100%;
    }

    .pc-contact-process {
        padding: 35px 0 50px;
    }

    .pc-contact-process-head {
        display: block;
    }

    .pc-contact-process-head h2 {
        margin-bottom: 10px;
        font-size: 25px;
    }

    .pc-contact-process-grid {
        grid-template-columns: 1fr;
    }

    .pc-contact-final {
        padding-bottom: 45px;
    }

    .pc-contact-final-box {
        padding: 35px 22px;
        border-radius: 22px;
    }

    .pc-contact-final-box h2 {
        font-size: 25px;
    }
}

