/* صفحه اختصاصی مجتمع پردیس فرمانیه */
:root {
    --farmanieh-ink: #333333;
    --farmanieh-muted: #666666;
    --farmanieh-cream: #f4f4f4;
    --farmanieh-paper: #ffffff;
    --farmanieh-green: #757575;
    --farmanieh-green-deep: #333333;
    --farmanieh-lime: var(--brand-primary, #fb520d);
    --farmanieh-gold: var(--brand-primary-dark, #e04a0c);
}

.farmanieh-page {
    overflow-x: hidden;
    color: var(--farmanieh-ink);
    background: var(--farmanieh-paper);
}

.farmanieh-hero {
    position: relative;
    min-height: min(820px, 94vh);
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    overflow: hidden;
    background: var(--farmanieh-green-deep);
}

.farmanieh-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(45, 45, 45, .2) 0%, rgba(45, 45, 45, .56) 48%, rgba(25, 25, 25, .94) 100%),
        url("../images/farmanieh/hero.webp") center / cover no-repeat;
    transform: scale(1.02);
}

.farmanieh-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 46%;
    background: linear-gradient(0deg, rgba(45, 45, 45, .78), transparent);
}

.farmanieh-hero__grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .24;
    background-image: radial-gradient(rgba(255, 255, 255, .42) .7px, transparent .7px);
    background-size: 7px 7px;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.farmanieh-hero__shape {
    position: absolute;
    top: 25%;
    right: -120px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255, 255, 255, .035), 0 0 0 70px rgba(255, 255, 255, .025);
}

.farmanieh-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 170px;
    padding-bottom: clamp(70px, 10vw, 128px);
}

.farmanieh-hero__copy {
    max-width: 760px;
    color: #fff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .42);
}

.farmanieh-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--farmanieh-lime);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
}

.farmanieh-kicker::before {
    content: "";
    width: 42px;
    height: 2px;
    background: var(--farmanieh-lime);
    box-shadow: 0 0 14px rgba(var(--brand-primary-rgb), .75);
}

.farmanieh-hero__title {
    max-width: none;
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 3.1vw, 40px);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.02em;
    text-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}

.farmanieh-hero__title em {
    display: inline;
    color: var(--farmanieh-lime);
    font-style: normal;
}

.farmanieh-hero__lead {
    max-width: 580px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(14px, 1.15vw, 17px);
    font-weight: 600;
    line-height: 1.85;
}

.farmanieh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.farmanieh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .35s ease, background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.farmanieh-button:hover,
.farmanieh-button:focus-visible {
    color: #fff;
    transform: translateY(-3px);
}

.farmanieh-button--primary {
    background: var(--brand-primary, #fb520d);
    box-shadow: 0 14px 30px rgba(251, 82, 13, .28);
}

.farmanieh-button--primary:hover,
.farmanieh-button--primary:focus-visible {
    background: #e8490b;
    box-shadow: 0 18px 38px rgba(251, 82, 13, .38);
}

.farmanieh-button--ghost {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

.farmanieh-button--ghost:hover,
.farmanieh-button--ghost:focus-visible {
    border-color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .16);
}

.farmanieh-hero__badge {
    position: absolute;
    left: clamp(20px, 6vw, 90px);
    bottom: clamp(64px, 10vw, 130px);
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    background: rgba(55, 55, 55, .42);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .18);
    backdrop-filter: blur(12px);
}

.farmanieh-hero__badge strong {
    display: block;
    color: var(--farmanieh-lime);
    font-size: 27px;
    line-height: 1;
}

.farmanieh-hero__badge span {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.65;
}

.farmanieh-overview {
    position: relative;
    z-index: 3;
    margin-top: -58px;
}

.farmanieh-overview__inner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 8px;
    overflow: hidden;
    border: 1px solid rgba(45, 45, 45, .09);
    border-radius: 30px;
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--brand-primary-rgb), .08), transparent 27%),
        linear-gradient(145deg, #ffffff 0%, #fbfbfa 52%, #f0f0f0 100%);
    box-shadow:
        0 28px 65px rgba(45, 45, 45, .13),
        0 2px 0 rgba(255, 255, 255, .95) inset,
        0 -1px 0 rgba(45, 45, 45, .04) inset;
    backdrop-filter: blur(14px);
}

.farmanieh-overview__inner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 9%;
    left: 9%;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, var(--brand-primary, #fb520d), transparent);
    box-shadow: 0 5px 15px rgba(var(--brand-primary-rgb), .22);
}

.farmanieh-stat {
    position: relative;
    display: flex;
    min-height: 148px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 26px;
    border: 1px solid transparent;
    border-radius: 22px;
    text-align: right;
    transition: background-color .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}

.farmanieh-stat:hover {
    border-color: rgba(var(--brand-primary-rgb), .16);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 24px rgba(45, 45, 45, .07);
    transform: translateY(-3px);
}

.farmanieh-stat + .farmanieh-stat::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    right: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(45, 45, 45, .12), transparent);
}

.farmanieh-stat::after {
    content: "";
    position: absolute;
    right: 26px;
    bottom: 10px;
    width: 36px;
    height: 2px;
    border-radius: 999px;
    background: var(--brand-primary, #fb520d);
    box-shadow: 0 0 14px rgba(var(--brand-primary-rgb), .75);
    opacity: .55;
}

.farmanieh-stat strong {
    display: block;
    color: var(--farmanieh-green-deep);
    font-size: clamp(25px, 2.5vw, 35px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.farmanieh-stat span:not(.farmanieh-stat__icon) {
    display: block;
    margin-top: 10px;
    color: var(--farmanieh-muted);
    font-size: 13px;
    font-weight: 600;
}

.farmanieh-section {
    padding: clamp(78px, 10vw, 138px) 0;
}

.farmanieh-section--cream {
    background: var(--farmanieh-cream);
}

.farmanieh-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 46px;
}

.farmanieh-section__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px;
    color: var(--brand-primary, #fb520d);
    font-size: 13px;
    font-weight: 850;
}

.farmanieh-section__eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.farmanieh-section__title {
    max-width: 650px;
    margin: 0;
    color: var(--farmanieh-green-deep);
    font-size: clamp(28px, 3.7vw, 52px);
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: -.03em;
}

.farmanieh-section__desc {
    max-width: 420px;
    margin: 0;
    color: var(--farmanieh-muted);
    font-size: 15px;
    line-height: 2;
}

.farmanieh-story {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(38px, 7vw, 100px);
    align-items: center;
}

.farmanieh-story__visual {
    position: relative;
    min-height: 560px;
}

.farmanieh-story__image {
    position: absolute;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 24px 55px rgba(45, 45, 45, .16);
}

.farmanieh-story__image img,
.farmanieh-gallery__item img,
.farmanieh-facility__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.farmanieh-story__image--back {
    top: 18px;
    left: 0;
    width: 70%;
    height: 400px;
    transform: rotate(-5deg);
    opacity: .85;
}

.farmanieh-story__image--front {
    right: 5%;
    bottom: 0;
    width: 70%;
    height: 420px;
    border: 10px solid var(--farmanieh-paper);
    transform: rotate(4deg);
}

.farmanieh-story__stamp {
    position: absolute;
    top: 43%;
    right: 0;
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
    border: 1px solid rgba(var(--brand-primary-rgb), .3);
    border-radius: 50%;
    color: var(--farmanieh-green);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.7;
    text-align: center;
    background: var(--farmanieh-paper);
    box-shadow: 0 14px 30px rgba(45, 45, 45, .12);
    transform: rotate(-12deg);
}

.farmanieh-story__copy {
    padding-top: 12px;
}

.farmanieh-story__copy h3 {
    margin: 0 0 20px;
    color: var(--farmanieh-green-deep);
    font-size: clamp(25px, 3vw, 40px);
    font-weight: 850;
    line-height: 1.45;
}

.farmanieh-story__copy p {
    margin: 0;
    color: #5f6862;
    font-size: 16px;
    line-height: 2.15;
}

.farmanieh-story__copy p + p {
    margin-top: 16px;
}

.farmanieh-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.farmanieh-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--farmanieh-green);
    font-size: 14px;
    font-weight: 750;
}

.farmanieh-checklist i {
    display: inline-grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    background: var(--farmanieh-green);
}

.farmanieh-facilities {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.farmanieh-facility {
    position: relative;
    grid-column: span 4;
    min-height: 330px;
    overflow: hidden;
    border-radius: 22px;
    isolation: isolate;
    background: var(--farmanieh-green);
    box-shadow: 0 15px 35px rgba(45, 45, 45, .1);
}

.farmanieh-facility:nth-child(1),
.farmanieh-facility:nth-child(4) {
    grid-column: span 5;
}

.farmanieh-facility:nth-child(2),
.farmanieh-facility:nth-child(5) {
    grid-column: span 3;
}

.farmanieh-facility:nth-child(3),
.farmanieh-facility:nth-child(6) {
    grid-column: span 4;
}

.farmanieh-facility__image {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.farmanieh-facility__image img {
    transition: transform .65s cubic-bezier(.22, 1, .36, 1);
}

.farmanieh-facility::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(45, 45, 45, .92), rgba(45, 45, 45, .08) 80%);
}

.farmanieh-facility:hover .farmanieh-facility__image img {
    transform: scale(1.08);
}

.farmanieh-facility__body {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    color: #fff;
}

.farmanieh-facility__number {
    margin-bottom: auto;
    color: rgba(255, 255, 255, .68);
    font-family: Georgia, serif;
    font-size: 22px;
}

.farmanieh-facility__icon {
    display: inline-grid;
    place-items: center;
    width: 43px;
    height: 43px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 14px;
    color: var(--farmanieh-lime);
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
}

.farmanieh-facility h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(19px, 2vw, 26px);
    font-weight: 800;
}

.farmanieh-facility p {
    max-width: 350px;
    margin: 9px 0 0;
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    line-height: 1.85;
}

.farmanieh-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, 250px);
    gap: 16px;
}

.farmanieh-gallery__item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    overflow: hidden;
    border-radius: 20px;
    cursor: zoom-in;
    text-align: inherit;
    background: #eeeeee;
}

.farmanieh-gallery__item::after {
    content: "\f00e";
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    color: #fff;
    font-family: "Font Awesome 5 Free";
    font-size: 13px;
    font-weight: 900;
    background: rgba(55, 55, 55, .46);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
}

.farmanieh-gallery__item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.farmanieh-gallery__item img {
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.farmanieh-gallery__item:hover img {
    transform: scale(1.06);
}

.farmanieh-gallery__item--large,
.farmanieh-gallery__item--wide {
    grid-row: auto;
    grid-column: auto;
}

.farmanieh-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.farmanieh-news-card {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(31, 36, 34, .1);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(45, 45, 45, .05);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.farmanieh-news-card:hover {
    border-color: rgba(var(--brand-primary-rgb), .25);
    box-shadow: 0 24px 46px rgba(45, 45, 45, .11);
    transform: translateY(-7px);
}

.farmanieh-news-card__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-primary, #fb520d);
    font-size: 12px;
    font-weight: 800;
}

.farmanieh-news-card h3 {
    margin: 22px 0 14px;
    color: var(--farmanieh-green-deep);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.75;
}

.farmanieh-news-card p {
    margin: 0;
    color: var(--farmanieh-muted);
    font-size: 13px;
    line-height: 1.9;
}

.farmanieh-contact {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #525252;
}

.farmanieh-contact::before {
    content: "";
    position: absolute;
    top: -240px;
    left: -130px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(var(--brand-primary-rgb), .28);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(var(--brand-primary-rgb), .04), 0 0 0 90px rgba(var(--brand-primary-rgb), .03);
}

.farmanieh-contact__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(38px, 7vw, 100px);
    align-items: center;
}

.farmanieh-contact .farmanieh-section__eyebrow {
    color: var(--farmanieh-lime);
}

.farmanieh-contact .farmanieh-section__title {
    color: #fff;
}

.farmanieh-contact__lead {
    max-width: 490px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    line-height: 2;
}

.farmanieh-contact__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.farmanieh-contact__card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-height: 122px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    transition: background .35s ease, transform .35s ease, border-color .35s ease;
}

.farmanieh-contact__card:hover {
    border-color: rgba(var(--brand-primary-rgb), .4);
    background: rgba(255, 255, 255, .1);
    transform: translateY(-4px);
}

.farmanieh-contact__card > i {
    display: inline-grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: var(--farmanieh-green-deep);
    background: var(--farmanieh-lime);
}

.farmanieh-contact__card strong {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-size: 14px;
}

.farmanieh-contact__card span,
.farmanieh-contact__card a {
    display: block;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.8;
    text-decoration: none;
}

.farmanieh-contact__card a:hover {
    color: var(--farmanieh-lime);
}

.farmanieh-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(35, 35, 35, .9);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.farmanieh-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.farmanieh-lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 82vh;
    border: 6px solid rgba(255, 255, 255, .9);
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
    transform: scale(.94);
    transition: transform .35s ease;
}

.farmanieh-lightbox.is-open img {
    transform: scale(1);
}

.farmanieh-lightbox__close {
    position: absolute;
    top: 24px;
    left: 24px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    background: rgba(255, 255, 255, .1);
    cursor: pointer;
}

@media (max-width: 991px) {
    .farmanieh-hero {
        min-height: 760px;
    }

    .farmanieh-hero__badge {
        right: 24px;
        left: auto;
        bottom: 44px;
        width: 105px;
        height: 105px;
    }

    .farmanieh-story {
        grid-template-columns: 1fr;
    }

    .farmanieh-story__visual {
        min-height: 480px;
        max-width: 650px;
        margin-inline: auto;
        width: 100%;
    }

    .farmanieh-facility,
    .farmanieh-facility:nth-child(n) {
        grid-column: span 6;
    }

    .farmanieh-contact__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .farmanieh-hero {
        min-height: 710px;
    }

    .farmanieh-hero::before {
        background:
            linear-gradient(180deg, rgba(45, 45, 45, .24), rgba(35, 35, 35, .95) 82%),
            url("../images/farmanieh/hero.webp") 62% center / cover no-repeat;
    }

    .farmanieh-hero__content {
        padding-top: 80px;
        padding-bottom: 54px;
    }

    .farmanieh-hero__badge {
        display: none;
    }

    .farmanieh-overview {
        margin-top: -25px;
    }

    .farmanieh-overview__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .farmanieh-section__head {
        display: block;
        margin-bottom: 32px;
    }

    .farmanieh-section__desc {
        margin-top: 16px;
    }

    .farmanieh-story__visual {
        min-height: 375px;
    }

    .farmanieh-story__image--back {
        width: 76%;
        height: 270px;
    }

    .farmanieh-story__image--front {
        width: 76%;
        height: 285px;
    }

    .farmanieh-story__stamp {
        width: 100px;
        height: 100px;
        font-size: 10px;
    }

    .farmanieh-checklist,
    .farmanieh-news,
    .farmanieh-contact__cards {
        grid-template-columns: 1fr;
    }

    .farmanieh-facilities {
        display: block;
    }

    .farmanieh-facility {
        min-height: 300px;
        margin-bottom: 16px;
    }

    .farmanieh-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 190px);
    }

    .farmanieh-gallery__item--large,
    .farmanieh-gallery__item--wide {
        grid-row: auto;
        grid-column: auto;
    }
}

/* پنل آماری — کارت‌های مستقل با آیکن‌های خطی اختصاصی */
.farmanieh-overview {
    margin-top: -62px;
}

.farmanieh-overview__inner {
    gap: 14px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.farmanieh-overview__inner::before {
    display: none;
}

.farmanieh-stat {
    min-height: 174px;
    align-items: center;
    padding: 28px 18px 24px;
    border: 1px solid rgba(45, 45, 45, .09);
    border-radius: 24px;
    text-align: center;
    background: rgba(255, 255, 255, .96);
    box-shadow:
        0 15px 34px rgba(45, 45, 45, .08),
        0 2px 0 rgba(255, 255, 255, .95) inset;
}

.farmanieh-stat::before {
    content: "";
    position: absolute;
    top: 0;
    right: 22%;
    left: 22%;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, var(--brand-primary, #fb520d), transparent);
    opacity: .7;
}

.farmanieh-stat:hover {
    border-color: rgba(var(--brand-primary-rgb), .24);
    background: #fff;
    box-shadow:
        0 22px 42px rgba(45, 45, 45, .12),
        0 2px 0 rgba(var(--brand-primary-rgb), .1) inset;
    transform: translateY(-7px);
}

.farmanieh-stat + .farmanieh-stat::before {
    top: 0;
    bottom: auto;
    right: 22%;
    width: auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand-primary, #fb520d), transparent);
}

.farmanieh-stat::after {
    right: 50%;
    bottom: 14px;
    width: 28px;
    opacity: .42;
    transform: translateX(50%);
}

.farmanieh-stat__icon {
    position: relative;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    margin: 0 auto 17px;
    border: 1px solid rgba(var(--brand-primary-rgb), .22);
    border-radius: 50%;
    color: var(--brand-primary, #fb520d);
    background: linear-gradient(145deg, #fff8f4, #fff);
    box-shadow:
        0 8px 18px rgba(var(--brand-primary-rgb), .1),
        0 0 0 6px rgba(var(--brand-primary-rgb), .045);
    line-height: 0;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}

.farmanieh-stat__icon::before,
.farmanieh-stat__icon::after {
    content: none !important;
    display: none !important;
}

.farmanieh-stat__icon svg {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
    pointer-events: none;
}

.farmanieh-stat:hover .farmanieh-stat__icon {
    box-shadow:
        0 12px 24px rgba(var(--brand-primary-rgb), .18),
        0 0 0 8px rgba(var(--brand-primary-rgb), .06);
    transform: translateY(-2px) scale(1.05);
}

.farmanieh-stat strong {
    color: var(--farmanieh-green-deep);
    font-size: clamp(26px, 2.35vw, 34px);
    line-height: 1.1;
}

.farmanieh-stat span:not(.farmanieh-stat__icon) {
    margin-top: 9px;
    color: var(--farmanieh-muted);
    font-size: 13px;
}

@media (max-width: 767px) {
    .farmanieh-overview {
        margin-top: -28px;
    }

    .farmanieh-overview__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .farmanieh-stat {
        min-height: 158px;
        padding: 22px 12px 20px;
        border-radius: 20px;
    }

    .farmanieh-stat__icon {
        width: 54px;
        height: 54px;
        margin-bottom: 13px;
    }

    .farmanieh-stat__icon svg {
        width: 28px;
        height: 28px;
    }
}
