.home-contact-section {
    --contact-dark: #194734;
    --contact-text: #4b4b4b;
    --contact-muted: #777777;
    --contact-border: #e8e3da;

    --contact-accent: #6fcac6;
    --contact-accent-dark: #3a9c97;
    --contact-accent-soft: rgba(111, 202, 198, 0.16);
    --contact-accent-border: rgba(111, 202, 198, 0.42);
    --contact-accent-shadow: rgba(111, 202, 198, 0.22);

    position: relative;
    direction: rtl;
    padding: 100px 20px;
    background: #ffffff;
    overflow: hidden;
}

/* گرادیان اصلی — پایین راست، واضح‌تر و با رنج بالاتر */
.home-contact-section::before {
    content: "";
    position: absolute;
    right: -220px;
    bottom: -190px;
    width: 820px;
    height: 720px;
    background:
        radial-gradient(
            circle at center,
            rgba(111, 202, 198, 0.52) 0%,
            rgba(111, 202, 198, 0.36) 24%,
            rgba(111, 202, 198, 0.22) 44%,
            rgba(111, 202, 198, 0.11) 62%,
            rgba(111, 202, 198, 0.05) 76%,
            transparent 90%
        );
    filter: blur(38px);
    pointer-events: none;
    z-index: 0;
}

/* هاله دوم برای پخش بهتر گرادیان */
.home-contact-section::after {
    content: "";
    position: absolute;
    right: 40px;
    bottom: 210px;
    width: 320px;
    height: 320px;
    background:
        radial-gradient(
            circle at center,
            rgba(111, 202, 198, 0.24) 0%,
            rgba(111, 202, 198, 0.16) 38%,
            rgba(111, 202, 198, 0.07) 62%,
            transparent 82%
        );
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
}

.home-contact-container {
    position: relative;
    z-index: 1;
    direction: ltr;
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 460px) minmax(520px, 760px);
    gap: 56px;
    align-items: center;
}

.home-contact-visuals {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
    justify-content: center;
}

.home-contact-visual-card {
    width: 100%;
    display: flex;
    justify-content: center;
}

.home-contact-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    object-fit: contain;
}

.home-contact-content {
    direction: rtl;
    text-align: right;
    width: 100%;
}

.home-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 14px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: rgba(111, 202, 198, 0.08);
    border: 1px solid var(--contact-accent-border);
    color: var(--contact-accent-dark);
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 14px 35px rgba(111, 202, 198, 0.13);
}

.home-contact-badge-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(111, 202, 198, 0.14);
    color: var(--contact-accent-dark);
    box-shadow: inset 0 0 0 1px rgba(111, 202, 198, 0.16);
}

.home-contact-badge-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.home-contact-title {
    margin: 0;
    color: var(--contact-accent-dark);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.75;
    letter-spacing: -0.4px;
}

.home-contact-description {
    max-width: 100%;
    margin: 20px 0 0;
    color: var(--contact-text);
    font-size: 18px;
    font-weight: 400;
    line-height: 2.1;
}

.home-contact-methods {
    margin-top: 36px;
    display: grid;
    gap: 16px;
}

.home-contact-method {
    border-radius: 18px;
    background: rgba(251, 250, 247, 0.88);
    border: 1px solid var(--contact-border);
    box-shadow: 0 12px 30px rgba(25, 71, 52, 0.04);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.home-contact-method:hover {
    transform: translateY(-3px);
    border-color: var(--contact-accent-border);
    box-shadow: 0 18px 45px rgba(111, 202, 198, 0.16);
}

.home-contact-method[open] {
    border-color: var(--contact-accent-border);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(111, 202, 198, 0.13);
}

.home-contact-method-header {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
}

.home-contact-method-header::-webkit-details-marker {
    display: none;
}

.home-contact-method-header::after {
    content: "+";
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--contact-accent-soft);
    color: var(--contact-accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.home-contact-method:hover .home-contact-method-header::after {
    background: var(--contact-accent);
    color: #ffffff;
}

.home-contact-method[open] .home-contact-method-header::after {
    content: "−";
    background: var(--contact-accent);
    color: #ffffff;
    transform: rotate(180deg);
}

.home-contact-method-label {
    flex: 0 0 auto;
    color: var(--contact-accent-dark);
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.home-contact-method:hover .home-contact-method-label,
.home-contact-method[open] .home-contact-method-label {
    color: var(--contact-accent);
}

.home-contact-method-preview {
    margin-right: auto;
    color: var(--contact-muted);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    text-align: left;
    transition: color 0.25s ease;
}

.home-contact-method:hover .home-contact-method-preview,
.home-contact-method[open] .home-contact-method-preview {
    color: var(--contact-accent-dark);
}

.home-contact-method-body {
    padding: 0 24px 22px;
    border-top: 1px solid rgba(232, 227, 218, 0.75);
    animation: contactAccordionFade 0.25s ease;
}

.home-contact-method-body p {
    margin: 18px 0 14px;
    color: var(--contact-text);
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
}

.home-contact-action-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.home-contact-action-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--contact-accent-soft);
    border: 1px solid var(--contact-accent-border);
    color: var(--contact-accent-dark);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.7;
    text-decoration: none;
    direction: ltr;
    box-shadow: 0 10px 24px rgba(111, 202, 198, 0.08);
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.home-contact-action-pill:hover {
    background: var(--contact-accent);
    border-color: var(--contact-accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px var(--contact-accent-shadow);
}

.home-contact-action-pill-rtl {
    direction: rtl;
}

@keyframes contactAccordionFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .home-contact-container {
        grid-template-columns: minmax(280px, 380px) minmax(480px, 1fr);
        gap: 38px;
    }

    .home-contact-image {
        max-width: 340px;
    }

    .home-contact-title {
        font-size: 34px;
    }
}

@media (max-width: 992px) {
    .home-contact-section {
        padding: 82px 20px;
    }

    .home-contact-section::before {
        right: -250px;
        bottom: -210px;
        width: 700px;
        height: 620px;
        filter: blur(40px);
    }

    .home-contact-section::after {
        right: 20px;
        bottom: 180px;
        width: 240px;
        height: 240px;
        filter: blur(32px);
    }

    .home-contact-container {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .home-contact-content {
        order: 1;
    }

    .home-contact-visuals {
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .home-contact-image {
        max-width: 300px;
    }

    .home-contact-title {
        font-size: 32px;
    }

    .home-contact-description {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .home-contact-section {
        padding: 64px 16px;
    }

    .home-contact-section::before {
        right: -290px;
        bottom: -220px;
        width: 640px;
        height: 560px;
        filter: blur(42px);
    }

    .home-contact-section::after {
        right: -10px;
        bottom: 160px;
        width: 180px;
        height: 180px;
        filter: blur(34px);
    }

    .home-contact-title {
        font-size: 26px;
        line-height: 1.85;
    }

    .home-contact-badge {
        font-size: 14px;
        padding: 10px 16px 10px 12px;
    }

    .home-contact-badge-icon {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .home-contact-badge-icon svg {
        width: 18px;
        height: 18px;
    }

    .home-contact-method-header {
        padding: 18px 20px;
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .home-contact-method-header::after {
        position: absolute;
        left: 18px;
        top: 18px;
    }

    .home-contact-method-preview {
        margin-right: 0;
        padding-left: 38px;
        text-align: right;
        font-size: 15px;
    }

    .home-contact-method-label {
        font-size: 15px;
    }

    .home-contact-method-body {
        padding: 0 20px 20px;
    }

    .home-contact-action-list {
        flex-direction: column;
        align-items: stretch;
    }

    .home-contact-action-pill {
        width: 100%;
        min-height: 44px;
        padding: 10px 18px;
        font-size: 15px;
    }

    .home-contact-visuals {
        flex-direction: column;
        gap: 18px;
    }

    .home-contact-image {
        max-width: 280px;
    }
}