﻿/* =========================================================
   صفحات عمومی سایت: درباره ما (/about) و تماس با ما (/contact)
   همه کلاس‌ها با پیشوند pubx- هستند تا با بقیه سایت قاطی نشوند.
   رنگ‌ها هماهنگ با صفحه اول: آبی #185596 ، سرمه‌ای #0c325f ، بنفش #873887
   ========================================================= */

.pubx {
    --pubx-blue: #185596;
    --pubx-blue2: #1b97d5;
    --pubx-navy: #0c325f;
    --pubx-dark: #190619;
    --pubx-purple: #873887;
    --pubx-glass: rgba(24, 85, 150, 0.28);
    --pubx-line: rgba(255, 255, 255, 0.14);
    position: relative;
    overflow: hidden;
    color: white !important;
    text-align: right;
    padding-bottom: 3em;
}

    /* خنثی کردن قانون * در site.css (رنگ و چینش) داخل این صفحات */
    .pubx * {
        color: inherit;
        text-align: inherit;
        box-sizing: border-box;
    }

    .pubx a {
        text-decoration: none !important;
    }

    .pubx svg {
        width: 1em;
        height: 1em;
        fill: currentColor;
        flex-shrink: 0;
    }

/* ---------- نورهای پس‌زمینه ---------- */
.pubx-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
    z-index: 0;
    pointer-events: none;
    animation: pubxFloat 9s ease-in-out infinite;
}

.pubx-orb1 {
    width: 34em;
    height: 34em;
    background: radial-gradient(circle, #873887 0%, transparent 65%);
    top: -10em;
    left: -10em;
}

.pubx-orb2 {
    width: 28em;
    height: 28em;
    background: radial-gradient(circle, #1b97d5 0%, transparent 65%);
    top: 18em;
    right: -12em;
    animation-delay: -3s;
}

.pubx-orb3 {
    width: 30em;
    height: 30em;
    background: radial-gradient(circle, #873887 0%, transparent 65%);
    bottom: 10em;
    left: 20%;
    opacity: .35;
    animation-delay: -6s;
}

@keyframes pubxFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(2.5em) scale(1.06);
    }
}

.pubx-wrap {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 1;
}

/* ---------- هیرو ---------- */
.pubx-hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4em 0 3em;
}

.pubx-crumb {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    background: rgba(255,255,255,.08);
    border: 1px solid var(--pubx-line);
    border-radius: 2em;
    padding: .35em 1.1em;
    font-size: .95em;
    margin-bottom: 1.5em;
}

    .pubx-crumb a, .pubx-crumb span {
        color: white !important;
    }

    .pubx-crumb a {
        opacity: .75;
    }

        .pubx-crumb a:hover {
            opacity: 1;
        }

.pubx-kicker {
    display: block;
    width: fit-content;
    margin: 0 auto .6em;
    background-color: var(--pubx-blue);
    color: white !important;
    font-family: 'sepahbod';
    font-size: 1.6em;
    border-radius: 1em;
    padding: .25em 1.6em;
    box-shadow: 0 0 0 6px rgba(24,85,150,.25), 0 10px 30px rgba(24,85,150,.5);
}

.pubx-hero h1 {
    font-family: 'kalameh';
    font-weight: bold;
    color: white !important;
    text-align: center !important;
    font-size: 3.6em;
    line-height: 1.5;
    margin: .3em 0 .2em;
    text-shadow: 0 6px 30px rgba(135,56,135,.6);
}

    .pubx-hero h1 b {
        background: linear-gradient(90deg, #6fc3ff, #d38bff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent !important;
        -webkit-text-fill-color: transparent;
    }

.pubx-hero p.pubx-lead {
    color: rgba(255,255,255,.82) !important;
    text-align: center !important;
    font-size: 1.25em;
    line-height: 2;
    max-width: 760px;
    margin: auto;
}

.pubx-hero-btns {
    display: flex;
    gap: 1em;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2em;
}

/* ---------- دکمه‌ها ---------- */
.pubx-btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .8em 1.8em;
    border-radius: 1em;
    font-weight: bold;
    font-size: 1.1em;
    color: white !important;
    background: linear-gradient(135deg, #1b97d5, #185596);
    box-shadow: 0 10px 25px rgba(27,151,213,.35);
    border: none;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
}

    .pubx-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 35px rgba(27,151,213,.5);
        color: white !important;
    }

    .pubx-btn:disabled {
        opacity: .6;
        cursor: wait;
        transform: none;
    }

.pubx-btn-ghost {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: none;
}

    .pubx-btn-ghost:hover {
        background: rgba(255,255,255,.16);
        box-shadow: none;
    }

.pubx-btn-purple {
    background: linear-gradient(135deg, #a64ca6, #5b1f6e);
    box-shadow: 0 10px 25px rgba(135,56,135,.4);
}

/* ---------- عنوان بخش‌ها ---------- */
.pubx-sec {
    position: relative;
    z-index: 1;
    margin: 4.5em auto;
}

.pubx-title {
    text-align: center;
    margin-bottom: 2.2em;
}

    .pubx-title h2 {
        display: inline-block;
        background-color: var(--pubx-blue);
        color: white !important;
        font-family: 'sepahbod';
        font-size: 2em;
        border-radius: 1em;
        padding: .4em 1.8em;
        margin: 0;
    }

    .pubx-title p {
        color: rgba(255,255,255,.7) !important;
        text-align: center !important;
        margin: 1em auto 0;
        max-width: 640px;
        line-height: 2;
    }

/* ---------- کارت شیشه‌ای ---------- */
.pubx-card {
    background: var(--pubx-glass);
    border: 1px solid var(--pubx-line);
    border-radius: 1.4em;
    padding: 2em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform .3s, border-color .3s, box-shadow .3s;
}

    .pubx-card:hover {
        transform: translateY(-6px);
        border-color: rgba(111,195,255,.55);
        box-shadow: 0 20px 45px rgba(0,0,0,.35), 0 0 0 1px rgba(111,195,255,.2);
    }

.pubx-ico {
    width: 3.2em;
    height: 3.2em;
    border-radius: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: white !important;
    background: linear-gradient(135deg, #1b97d5, #185596);
    box-shadow: 0 8px 20px rgba(27,151,213,.35);
    margin-bottom: .8em;
}

    .pubx-ico.pubx-ico-p {
        background: linear-gradient(135deg, #a64ca6, #5b1f6e);
        box-shadow: 0 8px 20px rgba(135,56,135,.4);
    }

/* ---------- آمار ---------- */
.pubx-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    position: relative;
    z-index: 1;
}

.pubx-stat {
    text-align: center;
    padding: 1.6em 1em;
}

    .pubx-stat strong {
        display: block;
        text-align: center !important;
        font-family: 'kalameh';
        font-size: 2.8em;
        line-height: 1.2;
        color: white !important;
        background: linear-gradient(180deg, #ffffff, #9fd4ff);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .pubx-stat span {
        display: block;
        text-align: center !important;
        color: rgba(255,255,255,.75) !important;
        margin-top: .3em;
    }

/* ---------- داستان ما (دو ستونه) ---------- */
.pubx-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3em;
    align-items: center;
}

    .pubx-split h3 {
        font-family: 'kalameh';
        font-weight: bold;
        font-size: 2.2em;
        color: white !important;
        line-height: 1.6;
        margin-bottom: .6em;
    }

    .pubx-split p {
        color: rgba(255,255,255,.82) !important;
        line-height: 2.2;
        text-align: justify !important;
        font-size: 1.08em;
    }

.pubx-checks {
    list-style: none;
    padding: 0;
    margin: 1.4em 0 0;
}

    .pubx-checks li {
        display: flex;
        align-items: center;
        gap: .6em;
        padding: .45em 0;
        color: white !important;
        font-weight: bold;
    }

        .pubx-checks li svg {
            color: #6fc3ff !important;
            font-size: 1.3em;
        }

.pubx-media {
    position: relative;
    border-radius: 1.6em;
    overflow: hidden;
    border: 1px solid var(--pubx-line);
    box-shadow: 0 30px 60px rgba(0,0,0,.45);
}

    .pubx-media img {
        width: 100%;
        display: block;
    }

    .pubx-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 55%, rgba(12,50,95,.75));
    }

.pubx-media-badge {
    position: absolute;
    bottom: 1em;
    right: 1em;
    z-index: 2;
    background: rgba(255,255,255,.95);
    border-radius: 1em;
    padding: .7em 1.1em;
    display: flex;
    align-items: center;
    gap: .7em;
    box-shadow: 0 10px 25px rgba(0,0,0,.3);
}

    .pubx-media-badge b {
        color: #185596 !important;
        font-size: 1.6em;
        font-family: 'kalameh';
    }

    .pubx-media-badge span {
        color: #0c325f !important;
        font-weight: bold;
    }

/* ---------- شبکه کارت‌ها ---------- */
.pubx-grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4em;
}

.pubx-grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2em;
}

.pubx-card h4 {
    color: white !important;
    font-weight: bold;
    font-size: 1.25em;
    margin: 0 0 .5em;
}

.pubx-card p {
    color: rgba(255,255,255,.75) !important;
    line-height: 2;
    margin: 0;
}

.pubx-value-img {
    width: 100%;
    max-height: 11em;
    object-fit: contain;
    margin-bottom: 1em;
}

/* ---------- محصولات ---------- */
.pubx-prods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
}

.pubx-prod {
    position: relative;
    border-radius: 1.2em;
    padding: 1.6em 1em;
    text-align: center;
    background: #291d2b;
    border: 1px solid var(--pubx-line);
    overflow: hidden;
    transition: transform .3s, background-color .3s;
}

    .pubx-prod:hover {
        transform: translateY(-6px) scale(1.02);
        background-color: var(--pc);
    }

    .pubx-prod::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--pc);
    }

    .pubx-prod img {
        height: 4em;
        max-width: 80%;
        object-fit: contain;
        margin: 0 auto .6em;
        display: block;
    }

    .pubx-prod b {
        display: block;
        text-align: center !important;
        font-family: 'Sarbaz';
        font-size: 1.8em;
        color: white !important;
    }

    .pubx-prod small {
        display: block;
        text-align: center !important;
        font-family: 'Sarbaz';
        color: silver !important;
        letter-spacing: 1px;
    }

/* ---------- مراحل همکاری ---------- */
.pubx-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2em;
    counter-reset: pubxstep;
    position: relative;
}

    .pubx-steps::before {
        content: "";
        position: absolute;
        top: 2.2em;
        right: 12%;
        left: 12%;
        border-top: 2px dashed rgba(111,195,255,.4);
        z-index: 0;
    }

.pubx-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

    .pubx-step .pubx-num {
        width: 4.4em;
        height: 4.4em;
        border-radius: 50%;
        margin: 0 auto 1em;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'kalameh';
        font-weight: bold;
        font-size: 1.1em;
        color: white !important;
        background: radial-gradient(circle at 30% 30%, #1b97d5, #0c325f);
        border: 3px solid rgba(255,255,255,.25);
        box-shadow: 0 0 0 8px rgba(27,151,213,.12), 0 10px 30px rgba(0,0,0,.4);
    }

        .pubx-step .pubx-num svg {
            font-size: 1.8em;
        }

    .pubx-step h4 {
        color: white !important;
        text-align: center !important;
        font-weight: bold;
        font-size: 1.2em;
    }

    .pubx-step p {
        color: rgba(255,255,255,.72) !important;
        text-align: center !important;
        line-height: 2;
        font-size: .95em;
    }

/* ---------- بخش بالاهوش ---------- */
.pubx-bh {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: center;
    gap: 2em;
    border-radius: 2em;
    padding: 2.5em 3em;
    background: linear-gradient(135deg, rgba(135,56,135,.55), rgba(24,85,150,.45));
    border: 1px solid rgba(255,255,255,.18);
    overflow: hidden;
    position: relative;
}

    .pubx-bh img {
        width: 100%;
        max-width: 17em;
        display: block;
        margin: auto;
        filter: drop-shadow(0 25px 35px rgba(0,0,0,.45));
        animation: pubxBob 4s ease-in-out infinite;
    }

    .pubx-bh h3 {
        font-family: 'kalameh';
        font-weight: bold;
        font-size: 2.2em;
        color: white !important;
    }

    .pubx-bh p {
        color: rgba(255,255,255,.85) !important;
        line-height: 2.1;
        font-size: 1.08em;
    }

@keyframes pubxBob {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-14px) rotate(2deg);
    }
}

.pubx-bubble {
    position: relative;
    display: inline-block;
    background: white;
    color: #3b0f52 !important;
    font-weight: bold;
    border-radius: 1.2em;
    padding: .8em 1.2em;
    margin-bottom: 1em;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    line-height: 1.9;
}

    .pubx-bubble::after {
        content: "";
        position: absolute;
        bottom: -10px;
        right: 2em;
        border: 10px solid transparent;
        border-top-color: white;
        border-bottom: 0;
    }

/* ---------- دفاتر ---------- */
.pubx-office {
    display: flex;
    gap: 1em;
    align-items: flex-start;
}

    .pubx-office .pubx-flag {
        font-size: 2.2em;
        line-height: 1;
        flex-shrink: 0;
    }

    .pubx-office h4 {
        margin-bottom: .3em;
    }

    .pubx-office p.pubx-ltr {
        direction: ltr;
        text-align: left !important;
        font-family: arial;
    }

    .pubx-office a.pubx-dir {
        display: inline-flex;
        align-items: center;
        gap: .3em;
        margin-top: .7em;
        color: #6fc3ff !important;
        font-weight: bold;
        font-size: .95em;
    }

/* ---------- مشتریان ---------- */
.pubx-customers {
    background: white;
    border-radius: 1.6em;
    padding: 2em;
    box-shadow: 0 25px 50px rgba(0,0,0,.35);
}

    .pubx-customers img {
        width: 100%;
        display: block;
    }

/* ---------- نوار دعوت به اقدام ---------- */
.pubx-cta {
    border-radius: 2em;
    padding: 3em;
    text-align: center;
    background: linear-gradient(120deg, #185596 0%, #1b97d5 45%, #873887 100%);
    box-shadow: 0 30px 60px rgba(24,85,150,.45);
    position: relative;
    overflow: hidden;
}

    .pubx-cta::before, .pubx-cta::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        border: 2px solid rgba(255,255,255,.18);
    }

    .pubx-cta::before {
        width: 20em;
        height: 20em;
        top: -8em;
        right: -6em;
    }

    .pubx-cta::after {
        width: 14em;
        height: 14em;
        bottom: -7em;
        left: -4em;
    }

    .pubx-cta h3 {
        font-family: 'kalameh';
        font-weight: bold;
        font-size: 2.4em;
        color: white !important;
        text-align: center !important;
        position: relative;
        z-index: 1;
    }

    .pubx-cta p {
        color: rgba(255,255,255,.9) !important;
        text-align: center !important;
        font-size: 1.15em;
        position: relative;
        z-index: 1;
    }

    .pubx-cta .pubx-hero-btns {
        position: relative;
        z-index: 1;
    }

    .pubx-cta .pubx-btn {
        background: white;
        color: #185596 !important;
        box-shadow: 0 10px 25px rgba(0,0,0,.2);
    }

        .pubx-cta .pubx-btn svg {
            color: #185596 !important;
        }

    .pubx-cta .pubx-btn-ghost {
        background: rgba(255,255,255,.12);
        color: white !important;
        border: 1px solid rgba(255,255,255,.6);
    }

        .pubx-cta .pubx-btn-ghost svg {
            color: white !important;
        }

/* =========================================================
   تماس با ما
   ========================================================= */
.pubx-quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2em;
    position: relative;
    z-index: 1;
    margin-top: -.5em;
}

    .pubx-quick a.pubx-card, .pubx-quick div.pubx-card {
        display: block;
        text-align: center;
        padding: 1.8em 1em;
    }

    .pubx-quick .pubx-ico {
        margin: 0 auto .9em;
    }

    .pubx-quick h4 {
        text-align: center !important;
        font-size: 1.05em;
        color: rgba(255,255,255,.75) !important;
        font-weight: normal;
        margin-bottom: .3em;
    }

    .pubx-quick strong {
        display: block;
        text-align: center !important;
        color: white !important;
        font-size: 1.45em;
        font-weight: bold;
        direction: ltr;
        letter-spacing: 1px;
    }

        .pubx-quick strong.pubx-rtl {
            direction: rtl;
            letter-spacing: 0;
            font-size: 1.15em;
            line-height: 1.9;
        }

.pubx-contact {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.6em;
    align-items: stretch;
}

/* فرم */
.pubx-form {
    padding: 2.4em;
}

    .pubx-form h3 {
        font-family: 'kalameh';
        font-weight: bold;
        font-size: 1.9em;
        color: white !important;
        margin-bottom: .2em;
    }

    .pubx-form > p {
        margin-bottom: 1.6em !important;
    }

.pubx-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
}

.pubx-field {
    margin-bottom: 1.1em;
}

    .pubx-field label {
        display: block;
        color: rgba(255,255,255,.85) !important;
        font-weight: bold;
        margin-bottom: .45em;
        font-size: .95em;
    }

        .pubx-field label i {
            color: #ff8fa3 !important;
            font-style: normal;
        }

    .pubx-field input, .pubx-field select, .pubx-field textarea {
        width: 100%;
        background: rgba(255,255,255,.08) !important;
        border: 1px solid rgba(255,255,255,.22) !important;
        border-radius: .9em !important;
        padding: .85em 1em !important;
        color: white !important;
        font-size: 1em;
        outline: none !important;
        transition: border-color .2s, background .2s, box-shadow .2s;
    }

        .pubx-field input::placeholder, .pubx-field textarea::placeholder {
            color: rgba(255,255,255,.45) !important;
        }

        .pubx-field input:focus, .pubx-field select:focus, .pubx-field textarea:focus {
            border-color: #6fc3ff !important;
            background: rgba(255,255,255,.13) !important;
            box-shadow: 0 0 0 4px rgba(111,195,255,.18);
        }

        .pubx-field input.pubx-ltr {
            direction: ltr;
            text-align: left !important;
        }

        .pubx-field select option {
            color: #0c325f !important;
            background: white !important;
        }

    .pubx-field textarea {
        min-height: 9em;
        resize: vertical;
        line-height: 1.9;
    }

    .pubx-field.pubx-bad input, .pubx-field.pubx-bad textarea {
        border-color: #ff6b81 !important;
    }

.pubx-err {
    display: block;
    color: #ff8fa3 !important;
    font-size: .85em;
    margin-top: .35em;
}

.pubx-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5em;
}

.pubx-chip {
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.06);
    color: white !important;
    border-radius: 2em;
    padding: .45em 1.1em;
    cursor: pointer;
    font-size: .95em;
    transition: all .2s;
}

    .pubx-chip:hover {
        background: rgba(255,255,255,.14);
    }

    .pubx-chip.pubx-on {
        background: linear-gradient(135deg, #1b97d5, #185596);
        border-color: transparent;
        box-shadow: 0 6px 16px rgba(27,151,213,.4);
    }

.pubx-form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    flex-wrap: wrap;
    margin-top: .6em;
}

    .pubx-form-foot small {
        color: rgba(255,255,255,.6) !important;
    }

.pubx-alert {
    border-radius: 1em;
    padding: .8em 1em;
    margin-bottom: 1em;
    background: rgba(255,107,129,.15);
    border: 1px solid rgba(255,107,129,.5);
    color: #ffd0d8 !important;
}

/* حالت ارسال موفق */
.pubx-done {
    text-align: center;
    padding: 1em 0;
}

    .pubx-done img {
        width: 11em;
        display: block;
        margin: 0 auto 1em;
        filter: drop-shadow(0 20px 30px rgba(0,0,0,.4));
        animation: pubxBob 4s ease-in-out infinite;
    }

    .pubx-done h3, .pubx-done p {
        text-align: center !important;
    }

    .pubx-done .pubx-code {
        display: inline-block;
        background: rgba(255,255,255,.1);
        border: 1px dashed rgba(255,255,255,.4);
        border-radius: .8em;
        padding: .4em 1.2em;
        margin: 1em 0;
        font-weight: bold;
        letter-spacing: 1px;
        color: white !important;
    }

/* ستون کناری */
.pubx-side {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}

.pubx-bh-mini {
    display: flex;
    align-items: flex-end;
    gap: .6em;
    padding: 1.4em 1.4em 0;
    background: linear-gradient(135deg, rgba(135,56,135,.6), rgba(24,85,150,.5));
    overflow: hidden;
}

    .pubx-bh-mini img {
        width: 8.5em;
        flex-shrink: 0;
        animation: pubxBob 4s ease-in-out infinite;
        margin-bottom: -.4em;
    }

    .pubx-bh-mini .pubx-bubble {
        margin-bottom: 3.5em;
        font-size: .95em;
    }

        .pubx-bh-mini .pubx-bubble::after {
            right: auto;
            left: -10px;
            bottom: 1em;
            border: 10px solid transparent;
            border-right-color: white;
            border-left: 0;
        }

.pubx-hours li {
    display: flex;
    justify-content: space-between;
    padding: .55em 0;
    border-bottom: 1px dashed rgba(255,255,255,.15);
    color: rgba(255,255,255,.85) !important;
}

    .pubx-hours li:last-child {
        border-bottom: none;
    }

    .pubx-hours li b {
        color: white !important;
    }

.pubx-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pubx-live {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    font-size: .85em;
    padding: .2em .8em;
    border-radius: 2em;
    font-weight: bold;
    margin-right: .5em;
}

    .pubx-live::before {
        content: "";
        width: .55em;
        height: .55em;
        border-radius: 50%;
        background: currentColor;
        box-shadow: 0 0 0 3px rgba(255,255,255,.12);
        animation: pubxPulse 1.6s infinite;
    }

    .pubx-live.pubx-open {
        background: rgba(76,217,100,.18);
        color: #7dffa0 !important;
    }

    .pubx-live.pubx-closed {
        background: rgba(255,107,129,.18);
        color: #ff9fb0 !important;
    }

@keyframes pubxPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

.pubx-social {
    display: flex;
    gap: .7em;
    flex-wrap: wrap;
}

    .pubx-social a {
        width: 3em;
        height: 3em;
        border-radius: 1em;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3em;
        color: white !important;
        background: rgba(255,255,255,.1);
        border: 1px solid rgba(255,255,255,.2);
        transition: transform .2s, background .2s;
    }

        .pubx-social a:hover {
            transform: translateY(-4px);
            background: var(--sc);
        }

/* نقشه */
.pubx-map {
    position: relative;
    border-radius: 1.6em;
    overflow: hidden;
    border: 1px solid var(--pubx-line);
    background: rgba(255,255,255,.04);
}

    .pubx-map img {
        width: 100%;
        display: block;
    }

.pubx-pins {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    margin-top: 1.2em;
}

/* سوالات متداول */
.pubx-faq details {
    background: var(--pubx-glass);
    border: 1px solid var(--pubx-line);
    border-radius: 1.1em;
    margin-bottom: .8em;
    overflow: hidden;
    transition: border-color .2s;
}

    .pubx-faq details[open] {
        border-color: rgba(111,195,255,.55);
    }

.pubx-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1em 1.4em;
    font-weight: bold;
    font-size: 1.08em;
    color: white !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
}

    .pubx-faq summary::-webkit-details-marker {
        display: none;
    }

    .pubx-faq summary svg {
        transition: transform .25s;
        font-size: 1.4em;
        color: #6fc3ff !important;
    }

.pubx-faq details[open] summary svg {
    transform: rotate(180deg);
}

.pubx-faq details p {
    padding: 0 1.4em 1.2em;
    color: rgba(255,255,255,.78) !important;
    line-height: 2.1;
    margin: 0;
}

/* انیمیشن ورود */
.pubx-in {
    animation: pubxIn .8s ease both;
}

.pubx-d1 {
    animation-delay: .1s;
}

.pubx-d2 {
    animation-delay: .2s;
}

.pubx-d3 {
    animation-delay: .3s;
}

.pubx-d4 {
    animation-delay: .4s;
}

@keyframes pubxIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   ریسپانسیو
   ========================================================= */
@media screen and (max-width: 1000px) {
    .pubx-hero h1 {
        font-size: 2.6em;
    }

    .pubx-stats, .pubx-quick, .pubx-grid4, .pubx-prods, .pubx-pins {
        grid-template-columns: repeat(2, 1fr);
    }

    .pubx-steps {
        grid-template-columns: repeat(2, 1fr);
    }

        .pubx-steps::before {
            display: none;
        }

    .pubx-split, .pubx-contact {
        grid-template-columns: 1fr;
    }

    .pubx-grid3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 600px) {
    .pubx-hero {
        padding: 2.5em 0 2em;
    }

        .pubx-hero h1 {
            font-size: 1.8em;
        }

        .pubx-hero p.pubx-lead {
            font-size: 1.02em;
        }

    .pubx-kicker {
        font-size: 1.2em;
    }

    .pubx-title h2 {
        font-size: 1.4em;
        padding: .4em 1.2em;
    }

    .pubx-sec {
        margin: 3em auto;
    }

    .pubx-grid3, .pubx-row, .pubx-pins {
        grid-template-columns: 1fr;
    }

    .pubx-quick {
        gap: .8em;
    }

        .pubx-quick strong {
            font-size: 1.05em;
        }

    .pubx-stat strong {
        font-size: 2em;
    }

    .pubx-split h3, .pubx-bh h3, .pubx-cta h3 {
        font-size: 1.6em;
    }

    .pubx-bh {
        grid-template-columns: 1fr;
        padding: 2em 1.4em;
        text-align: center;
    }

        .pubx-bh img {
            max-width: 11em;
        }

    .pubx-cta {
        padding: 2.2em 1.2em;
    }

    .pubx-form {
        padding: 1.5em;
    }

    .pubx-card {
        padding: 1.4em;
    }

    .pubx-btn {
        padding: .75em 1.3em;
        font-size: 1em;
    }
}
