/** hero-split styles for Bargheto Widgets */

.elementor-widget-bargheto_hero_split a {
    cursor: pointer;
}

.elementor-widget-bargheto_hero_split .hero-split {
    --hero-accent: 0, 67, 203;
    --hero-accent-dark: 0, 67, 203;
    --hero-accent-light: 28, 165, 193;
    --hero-g-from: #f0fdfa;
    --hero-g-to: #ecfeff;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 14px,
            rgba(var(--hero-accent), 0.03) 14px,
            rgba(var(--hero-accent), 0.03) 15px
    ),
    linear-gradient(135deg, var(--hero-g-from) 0%, #fff 50%, var(--hero-g-to) 100%);
}

@media (min-width: 768px) {
    .elementor-widget-bargheto_hero_split .hero-split {
        padding: 6rem 0;
    }
}

.elementor-widget-bargheto_hero_split .hero-split-container {
    max-width: var(--container-max-width, 1140px);
    margin-right: auto;
    margin-left: auto;
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
}

.elementor-widget-bargheto_hero_split .hero-split__grid {
    display: grid;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .elementor-widget-bargheto_hero_split .hero-split__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.elementor-widget-bargheto_hero_split .hero-split__content {
    position: relative;
    z-index: 10;
    text-align: right;
}

.elementor-widget-bargheto_hero_split .hero-split__badge {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
    border-radius: 9999px;
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: rgba(var(--hero-accent), 0.1);
    color: rgb(var(--hero-accent));
}

.elementor-widget-bargheto_hero_split .hero-split__slogan {
    margin-top: 1rem;
    font-size: 1.125rem;
    font-weight: 900;
    line-height: 2;
    color: rgb(var(--hero-accent));
}

@media (min-width: 768px) {
    .elementor-widget-bargheto_hero_split .hero-split__slogan {
        font-size: 1.25rem;
    }
}

.elementor-widget-bargheto_hero_split .hero-split__title {
    margin-top: 1.25rem;
    font-size: 1.875rem;
    font-weight: 900;
    line-height: 1.6;
    color: #1a202c;
}

@media (min-width: 768px) {
    .elementor-widget-bargheto_hero_split .hero-split__title {
        font-size: 2.25rem;
    }
}

.elementor-widget-bargheto_hero_split .hero-split__desc {
    margin-top: 1.25rem;
    max-width: 32rem;
    font-size: 0.875rem;
    line-height: 2;
    color: #70777E;
}

@media (min-width: 768px) {
    .elementor-widget-bargheto_hero_split .hero-split__desc {
        font-size: 1rem;
    }
}

.elementor-widget-bargheto_hero_split .hero-split__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.elementor-widget-bargheto_hero_split .hero-split__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.elementor-widget-bargheto_hero_split .hero-split__btn--primary {
    background-color: rgb(var(--hero-accent));
    color: #fff;
}

.elementor-widget-bargheto_hero_split .hero-split__btn--primary:hover {
    opacity: 0.9;
}

.elementor-widget-bargheto_hero_split .hero-split__btn--outline {
    border: 2px solid rgba(var(--hero-accent), 0.3);
    background-color: transparent;
    color: rgb(var(--hero-accent));
}

.elementor-widget-bargheto_hero_split .hero-split__btn--outline:hover {
    background-color: rgb(var(--hero-accent));
    color: #fff;
}

/* ── ستون تصویر ── */
.elementor-widget-bargheto_hero_split .hero-split__visual {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.elementor-widget-bargheto_hero_split .hero-split__image-wrap {
    position: relative;
}

.elementor-widget-bargheto_hero_split .hero-split__image-wrap::before {
    content: "";
    position: absolute;
    inset: -1.5rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(var(--hero-accent), 0.18) 0%, transparent 70%);
}

.elementor-widget-bargheto_hero_split .hero-split__image {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 24rem;
    border-radius: 1rem;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(var(--hero-accent), 0.15));
}

@media (min-width: 768px) {
    .elementor-widget-bargheto_hero_split .hero-split__image {
        max-width: 28rem;
    }
}

/* ── blobs ── */
.elementor-widget-bargheto_hero_split .hero-split__blob {
    pointer-events: none;
    position: absolute;
    border-radius: 9999px;
}

.elementor-widget-bargheto_hero_split .hero-split__blob--1 {
    left: -8rem;
    top: -8rem;
    width: 32rem;
    height: 32rem;
    background: radial-gradient(circle, rgba(var(--hero-accent), 0.12) 0%, transparent 70%);
}

.elementor-widget-bargheto_hero_split .hero-split__blob--2 {
    right: -8rem;
    bottom: -8rem;
    width: 32rem;
    height: 32rem;
    background: radial-gradient(circle, rgba(var(--hero-accent-light), 0.12) 0%, transparent 70%);
}
