/* ==========================================================================
   sections.css — بخش‌های مشترک صفحه اصلی و «درباره ما»
   آمار (شمارنده)، بنر دعوت (CTA)، برندها
   ========================================================================== */

/* ---------- آمار ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(36px, 5vw, 60px); }
.stat { padding: 22px 16px; text-align: center; border-radius: var(--radius-lg); background: var(--c-soft); transition: background-color .25s, transform .3s var(--ease); }
.stat:hover { background: var(--c-primary-l); transform: translateY(-3px); }
.stat__num { display: block; font-size: clamp(26px, 3vw, 38px); line-height: 1.3; color: var(--c-primary); }
.stat__label { font-size: 14px; color: var(--c-muted); }
@media (max-width: 575.98px) { .stats { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* ---------- بنر میانی ---------- */
.cta {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap;
	padding: clamp(28px, 5vw, 56px) clamp(24px, 5vw, 64px); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
	color: rgba(255, 255, 255, .85);
	background: linear-gradient(115deg, #083b37, #0f6a5c 50%, color-mix(in srgb, var(--c-accent) 55%, #0f6a5c));
}
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(10, 26, 47, .9), rgba(10, 26, 47, .45)); }
.cta__deco { position: absolute; inset-inline-end: 18%; top: 50%; z-index: -1; transform: translateY(-50%); color: rgba(255, 255, 255, .1); }
.cta__deco .ico { stroke-width: .8; }
.cta__txt { max-width: 640px; }
.cta__title { color: #fff; font-size: var(--h2); margin-bottom: 8px; }
.cta__txt p { margin: 0; }


/* ---------- برندها ---------- */
.brands { border-block: 1px solid var(--c-line); }
.brands .carousel { --per: 2.5; --gap: 12px; }
@media (min-width: 576px) { .brands .carousel { --per: 4; } }
@media (min-width: 992px) { .brands .carousel { --per: 6; } }
.brand { display: grid; place-items: center; height: 96px; padding: 14px; border-radius: var(--radius); background: var(--c-soft); transition: background-color .25s, box-shadow .25s; }
.brand img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.brand:hover { background: #fff; box-shadow: var(--shadow); }
.brand:hover img { filter: none; opacity: 1; }
.brand__name { font-weight: 700; font-size: 18px; color: #8792a3; letter-spacing: .3px; transition: color .25s; }
.brand:hover .brand__name { color: var(--c-primary); }

