/* ============================================================
   Mina Services — Styles
   ============================================================ */
.mina-services-section, .mina-services-section * { box-sizing: border-box; font-family: 'IRANSans','Vazirmatn',Tahoma,sans-serif !important; }

.elementor-widget-mina_services,
.elementor-widget-mina_services > .elementor-widget-container,
.elementor-widget-mina_services .elementor-widget-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

.mina-services-section {
    background: #ffffff;
    padding: 110px 0 100px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.mina-services-section::before {
    content: ""; position: absolute;
    inset: auto auto 0 -120px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(223,154,104,.10) 0%, rgba(223,154,104,0) 70%);
    pointer-events: none;
}

.mina-services-wrap {
    width: 100%;
    max-width: 1240px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.mina-services-head { max-width: 860px; margin: 0 auto 42px; text-align: center; }

.mina-services-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0 0 14px;
    color: #c9855a; font-size: 13px; font-weight: 700; line-height: 1;
}
.mina-services-kicker::before, .mina-services-kicker::after {
    content: ""; width: 28px; height: 1px; background: #d7a17a; display: inline-block;
}

.mina-services-title {
    margin: 0 0 16px;
    color: #16392f;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.08; font-weight: 900;
    letter-spacing: -0.02em;
}

.mina-services-desc {
    margin: 0 auto; max-width: 760px;
    color: #5f5751;
    font-size: 1rem; line-height: 2; font-weight: 400;
}

.mina-services-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 26px;
    overflow: hidden;
    contain: inline-size;
}

.mina-services-viewport {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 8px 2px 18px;
    touch-action: pan-y;
    cursor: grab;
}
.mina-services-viewport:active { cursor: grabbing; }
.mina-services-viewport:focus-visible { outline: 2px solid rgba(72,99,82,.45); outline-offset: -2px; }
.mina-services-viewport.is-dragging,
.mina-services-viewport.is-dragging * {
    user-select: none !important;
}

.mina-services-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-flow: row nowrap;
    gap: 26px;
    align-items: stretch;
    direction: rtl !important;
    transform: translate3d(0, 0, 0);
    transition: transform .45s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}
.mina-services-viewport.is-dragging .mina-services-grid { transition: none; }

.mina-services-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
}
.mina-services-controls[hidden] { display: none !important; }

.mina-services-status {
    min-height: 22px;
    color: #5f5751;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    direction: rtl;
}

.mina-services-navigation {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

button.mina-services-arrow {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid rgba(22,57,47,.14) !important;
    border-radius: 50% !important;
    outline: none !important;
    background: #fff !important;
    color: #16392f !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: 21px !important;
    line-height: 1 !important;
    cursor: pointer;
    appearance: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
button.mina-services-arrow:hover:not(:disabled) {
    border-color: #486352 !important;
    background: #486352 !important;
    color: #fff !important;
}
button.mina-services-arrow:focus-visible {
    outline: 2px solid #486352 !important;
    outline-offset: 2px;
}
button.mina-services-arrow:disabled {
    opacity: .35;
    cursor: default;
}

.mina-services-dots {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
button.mina-services-dot {
    position: relative;
    width: 28px !important;
    height: 32px !important;
    min-width: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    appearance: none;
}
button.mina-services-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(22,57,47,.25);
    transform: translate(-50%, -50%);
    transition: width .2s ease, background-color .2s ease;
}
button.mina-services-dot.active::before {
    width: 22px;
    background: #486352;
}
button.mina-services-dot:focus-visible {
    outline: 2px solid #486352 !important;
    outline-offset: -2px;
}

.mina-service-card {
    position: relative;
    flex: 0 0 calc((100% - 52px) / 3);
    min-width: 0;
    min-height: 242px;
    height: auto;
    background: #fbfaf8;
    border: 1px solid rgba(22,57,47,.06);
    border-radius: 28px;
    padding: 34px 28px 28px;
    box-shadow: 0 18px 42px rgba(26,32,28,.05);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    overflow: hidden;
}
.mina-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(26,32,28,.08);
    border-color: rgba(72,99,82,.12);
}
.mina-service-card.is-featured::before {
    content: ""; position: absolute;
    top: 0; right: 28px; left: 28px; height: 4px;
    background: #486352; border-radius: 999px;
}

.mina-service-icon {
    width: 62px; height: 62px;
    border-radius: 50%;
    background: #f2ede6;
    display: flex; align-items: center; justify-content: center;
    margin: 0 0 18px auto;
    color: #27473c;
    flex: 0 0 62px;
}
.mina-service-icon svg, .mina-service-icon i { width: 28px; height: 28px; font-size: 28px; display: block; }

.mina-service-title { margin: 0 0 12px; color: #16392f; font-size: 1.45rem; line-height: 1.4; font-weight: 900; }
.mina-service-text  { margin: 0; color: #5f5751; font-size: .98rem; line-height: 2; font-weight: 400; }

.mina-services-cta { display: flex; justify-content: center; margin-top: 42px; }

.mina-services-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 62px; padding: 0 28px;
    background: #16392f; color: #fff !important;
    border: none; border-radius: 999px;
    font-size: 1rem; font-weight: 800; line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 16px 34px rgba(22,57,47,.14);
    transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.mina-services-btn:hover {
    background: #27473c; color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(22,57,47,.18);
}
.mina-services-btn svg, .mina-services-btn i { width: 18px; height: 18px; font-size: 18px; flex: 0 0 18px; }

/* Keep the complete desktop service experience visible within one viewport. */
@media (min-width: 1025px) {
    .mina-services-section {
        padding: clamp(34px, 4.5vh, 54px) 0 clamp(30px, 4vh, 48px);
    }
    .mina-services-head {
        max-width: 980px;
        margin-bottom: clamp(24px, 3vh, 34px);
    }
    .mina-services-kicker {
        margin-bottom: 12px;
        font-size: 12px;
    }
    .mina-services-title {
        margin-bottom: 14px;
        font-size: clamp(1.8rem, 2.5vw, 2.4rem);
        line-height: 1.18;
    }
    .mina-services-desc {
        max-width: 940px;
        font-size: .88rem;
        line-height: 1.95;
    }
    .mina-services-carousel { margin-top: 18px; }
    .mina-services-viewport { padding: 7px 2px 12px; }
    .mina-services-grid { gap: 24px; }
    .mina-service-card {
        flex-basis: calc((100% - 48px) / 3);
        min-height: 0;
        padding: 27px 26px 25px;
        border-radius: 24px;
    }
    .mina-service-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        margin-bottom: 16px;
    }
    .mina-service-icon svg,
    .mina-service-icon i {
        width: 24px;
        height: 24px;
        font-size: 24px;
    }
    .mina-service-title {
        margin-bottom: 12px;
        font-size: 1.08rem;
        line-height: 1.55;
    }
    .mina-service-text {
        font-size: .82rem;
        line-height: 1.95;
    }
    .mina-services-controls {
        flex-direction: row;
        gap: 16px;
        margin-top: 6px;
    }
    .mina-services-cta { margin-top: 20px; }
    .mina-services-btn {
        min-height: 50px;
        padding: 0 24px;
    }
}

@media (max-width: 1024px) {
    .mina-services-wrap { padding: 0 24px; }
    .mina-services-grid { gap: 18px; }
    .mina-service-card { flex-basis: calc((100% - 18px) / 2); }
    .mina-service-card { min-height: auto; }
}

@media (max-width: 640px) {
    .mina-services-section { padding: 48px 0 44px; }
    .mina-services-wrap { padding: 0 18px; }
    .mina-services-head { margin-bottom: 24px; }
    .mina-services-kicker { margin-bottom: 10px; }
    .mina-services-title { font-size: clamp(1.9rem, 8vw, 2.7rem); }
    .mina-services-desc { font-size: .95rem; line-height: 1.9; }
    .mina-services-carousel { margin-top: 14px; }
    .mina-services-viewport { padding: 4px 2px 10px; }
    .mina-services-grid { gap: 14px; }
    .mina-services-controls { margin-top: 2px; }
    .mina-services-navigation { gap: 8px; }
    .mina-service-card { flex-basis: 100%; padding: 24px 20px 20px; border-radius: 22px; }
    .mina-service-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        margin-bottom: 12px;
    }
    .mina-service-title { font-size: 1.2rem; }
    .mina-service-text { font-size: .93rem; line-height: 1.9; }
    .mina-services-cta { margin-top: 24px; }
    .mina-services-btn {
        width: 100%;
        max-width: 100%;
        min-height: 44px;
        white-space: normal !important;
        overflow-wrap: break-word;
    }
}

@media (max-width: 380px) {
    .mina-services-wrap { padding: 0 14px; }
    .mina-services-title { font-size: clamp(1.7rem, 8vw, 2.5rem); }
    .mina-services-section { padding: 40px 0 38px; }
    .mina-services-head { margin-bottom: 20px; }
    .mina-service-card { padding: 20px 16px 16px; }
}
