/* ============================================================
   iranzakaz | هلدینگ بین‌المللی تجارت
   Premium dark / corporate / international design system
   Palette: #0E111A #171E2B #222B3C #2D3A53 #F1F3F6 #A8AEB8 #4A5668 #EF3B54
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/vazirmatn/Vazirmatn[wght].woff2') format('woff2-variations');
}

/* ---------- Tokens ---------- */
:root {
    color-scheme: dark;

    --bg-0: #0e111a;
    --bg-1: #171e2b;
    --bg-2: #141a26;
    --card: #222b3c;
    --card-hi: #2d3a53;
    --text: #f1f3f6;
    --muted: #a8aeb8;
    --muted-2: #7f8a9b;
    --line: #4a5668;
    --line-soft: rgba(255, 255, 255, 0.07);
    --line-softer: rgba(255, 255, 255, 0.045);
    --red: #ef3b54;
    --red-hi: #ff5570;
    --red-soft: rgba(239, 59, 84, 0.14);
    --red-glow: rgba(239, 59, 84, 0.42);
    --ice: rgba(241, 243, 246, 0.6);
    --blue-light: rgba(122, 158, 255, 0.45);
    --ok: #43c98b;

    --glass: rgba(23, 30, 43, 0.62);
    --card-glass: linear-gradient(180deg, rgba(40, 52, 72, 0.62), rgba(30, 39, 55, 0.5));

    --r-s: 12px;
    --r-m: 16px;
    --r-l: 22px;
    --r-xl: 30px;

    --sh-1: 0 24px 60px -28px rgba(0, 0, 0, 0.65);
    --sh-glow: 0 12px 34px -14px var(--red-glow);

    --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
    --font: 'Vazirmatn', 'Segoe UI', Tahoma, ui-sans-serif, system-ui, sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: var(--font);
    background: var(--bg-0);
    color: var(--text);
    line-height: 1.75;
    font-size: 16px;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: rgba(239, 59, 84, 0.35); color: #fff; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

:focus-visible { outline: 2px solid rgba(239, 59, 84, 0.75); outline-offset: 2px; border-radius: 4px; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #0b0e16; }
::-webkit-scrollbar-thumb { background: #26303f; border-radius: 8px; border: 3px solid #0b0e16; }
::-webkit-scrollbar-thumb:hover { background: #32415a; }

/* ---------- Layout helpers ---------- */
.wrap {
    width: 100%;
    max-width: 1220px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4.6vw, 44px);
}

.section { position: relative; padding-block: clamp(76px, 9vw, 128px); }

.section--tint { background: linear-gradient(180deg, var(--bg-0), #10151f 40%, var(--bg-0)); }
.section--band { background: var(--bg-1); }
.section--band::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(820px 340px at 85% -10%, rgba(122, 158, 255, 0.05), transparent 65%),
        radial-gradient(700px 320px at 8% 110%, rgba(239, 59, 84, 0.05), transparent 60%);
}

.bg-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 54px 54px;
}

/* ---------- Type ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
}
.eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--red), rgba(239, 59, 84, 0.15));
}
.eyebrow--dot::before { display: none; }
.eyebrow--dot::after {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 12px var(--red-glow);
}

.s-title {
    margin-top: 16px;
    font-size: clamp(1.7rem, 3.4vw, 2.65rem);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.01em;
}
.s-title .hl {
    background: linear-gradient(120deg, #ffffff 30%, #b9c8e8 85%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.s-lead {
    margin-top: 18px;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 2;
    max-width: 680px;
}

.s-head { margin-bottom: clamp(44px, 6vw, 72px); }
.s-head--center { text-align: center; }
.s-head--center .s-lead { margin-inline: auto; }
.s-head--center .eyebrow { justify-content: center; }

/* ---------- Buttons / links ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
    white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }

.btn-red {
    background: linear-gradient(180deg, #f04a61, var(--red));
    color: #fff;
    box-shadow: 0 14px 34px -16px var(--red-glow);
}
.btn-red:hover { transform: translateY(-2px); background: linear-gradient(180deg, #ff5b71, #ef3b54); box-shadow: 0 18px 42px -14px rgba(239, 59, 84, 0.6); }
.btn-red:active { transform: translateY(0); }

.btn-ghost {
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }

.lnk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #dbe1ec;
    transition: color 0.25s;
}
.lnk svg { transition: transform 0.3s var(--ease); }
.lnk:hover { color: var(--red-hi); }
.lnk:hover svg { transform: translateX(-4px); }
.lnk:hover svg.arr-r { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.site-head {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 90;
    padding-block: 18px;
    transition: background 0.4s, border-color 0.4s, padding 0.4s, backdrop-filter 0.4s;
    border-bottom: 1px solid transparent;
}
.site-head.scrolled {
    padding-block: 10px;
    background: rgba(13, 16, 24, 0.72);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
    border-bottom-color: var(--line-soft);
    box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.8);
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-img {
    display: block;
    width: auto;
    height: 46px;
    max-width: min(260px, 42vw);
    object-fit: contain;
}
.site-head .logo-img {
    height: 40px;
    max-width: 210px;
}
.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    background: linear-gradient(160deg, rgba(45, 58, 83, 0.8), rgba(23, 30, 43, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.logo-name { font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.logo-sub {
    margin-top: 3px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.32em;
    color: var(--muted);
    text-transform: uppercase;
    direction: ltr;
    text-align: left;
}

.nav-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-link {
    position: relative;
    padding: 9px 15px;
    font-size: 15px;
    font-weight: 500;
    color: #c6cdd9;
    border-radius: 11px;
    transition: color 0.25s, background 0.25s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-link.active { color: #fff; }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 50%;
    transform: translateX(50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 10px var(--red-glow);
}

.nav-act { display: flex; align-items: center; gap: 14px; }

.menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.04);
    position: relative;
}
.menu-btn span {
    position: absolute;
    right: 11px;
    left: 11px;
    height: 1.8px;
    border-radius: 2px;
    background: #e6eaf1;
    transition: transform 0.35s var(--ease), opacity 0.25s, top 0.35s var(--ease);
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 26px; }
.site-head.open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.site-head.open .menu-btn span:nth-child(2) { opacity: 0; }
.site-head.open .menu-btn span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1160px) {
    .nav-links { display: none; }
    .menu-btn { display: block; }
    .nav-act { margin-inline-start: auto; }
    .logo { margin-inline-end: auto; }
    .nav { justify-content: space-between; }
}
@media (max-width: 700px) {
    .nav-act .btn-red { display: none; }
}

.m-drop {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    padding: 10px clamp(20px, 5vw, 44px) 24px;
    background: rgba(13, 16, 24, 0.94);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.9);
}
.site-head.open .m-drop { display: block; animation: dropIn 0.35s var(--ease); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.m-drop a {
    display: block;
    padding: 14px 6px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--line-softer);
    transition: color 0.2s;
}
.m-drop a:hover { color: var(--red-hi); }
.m-drop .m-cta { margin-top: 18px; width: 100%; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100svh;
    padding: clamp(140px, 16vh, 190px) 0 0;
    overflow: hidden;
    isolation: isolate;
}
.hero-core { width: 100%; }
.hero-route { width: 100%; }

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1100px 520px at 18% -8%, rgba(122, 158, 255, 0.1), transparent 60%),
        radial-gradient(900px 480px at 92% 4%, rgba(122, 158, 255, 0.06), transparent 62%),
        radial-gradient(760px 420px at 50% 118%, rgba(239, 59, 84, 0.09), transparent 65%),
        linear-gradient(180deg, #0d1018 0%, var(--bg-0) 46%, #0f131d 100%);
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(75% 72% at 50% 38%, #000 30%, transparent 78%);
    mask-image: radial-gradient(75% 72% at 50% 38%, #000 30%, transparent 78%);
}

.h-canvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-core {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin-inline: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-soft);
    background: rgba(23, 30, 43, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 13px;
    color: var(--muted);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero-badge b {
    color: #eef1f7;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.hero-title {
    margin-top: 30px;
    font-size: clamp(2.3rem, 5.6vw, 4.35rem);
    font-weight: 800;
    line-height: 1.42;
    letter-spacing: -0.015em;
    text-wrap: balance;
}
.hero-title .brand { position: relative; white-space: nowrap; }
.hero-title .brand::after {
    content: '';
    position: absolute;
    right: 2%;
    bottom: -12px;
    width: 60px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
}
.hero-title .soft {
    background: linear-gradient(120deg, #fff 20%, #c6d3f0 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    margin: 30px auto 0;
    max-width: 620px;
    color: var(--muted);
    font-size: clamp(15.5px, 1.6vw, 17.5px);
    line-height: 2.05;
}

.hero-cta { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-trust {
    margin-top: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 3vw, 34px);
    flex-wrap: wrap;
}
.ht-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--muted);
}
.ht-item svg { color: #d7dde8; flex: 0 0 auto; }
.ht-item i {
    font-style: normal;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--line);
}
.ht-item b { color: #eef1f7; font-weight: 700; }

/* Hero route visual */
.hero-route {
    margin-top: clamp(40px, 6vh, 72px);
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}
.hero-route svg { width: 100%; height: auto; overflow: visible; }
.hero-route .cap {
    position: absolute;
    top: 63.5%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: #cfd6e2;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.02em;
}
.hero-route .cap::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.hero-route .cap--a { right: 0; }
.hero-route .cap--a::before { background: var(--red); box-shadow: 0 0 12px var(--red-glow); }
.hero-route .cap--b { left: 0; }
.hero-route .cap--b::before { background: #8fb0ff; box-shadow: 0 0 12px var(--blue-light); }

.trail { stroke-dasharray: 1 13; stroke-linecap: round; animation: flow 26s linear infinite; }
.trail.t2 { animation-direction: reverse; animation-duration: 34s; }
@keyframes flow { to { stroke-dashoffset: -840; } }

.pulse-dot { transform-origin: center; transform-box: fill-box; animation: pulseDot 3.2s ease-out infinite; }
@keyframes pulseDot {
    0% { opacity: 0.65; transform: scale(0.7); }
    70% { opacity: 0; transform: scale(2.6); }
    100% { opacity: 0; }
}

/* Markets ticker */
.ticker {
    margin-top: clamp(56px, 8vh, 96px);
    border-block: 1px solid var(--line-softer);
    background: rgba(13, 16, 24, 0.5);
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.tk-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tk 46s linear infinite;
}
.ticker:hover .tk-track { animation-play-state: paused; }
@keyframes tk { from { transform: translateX(0); } to { transform: translateX(50%); } }
.tk-group { display: flex; align-items: center; }
.tk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px clamp(18px, 2.6vw, 34px);
    font-size: 15px;
    font-weight: 600;
    color: #aab3c2;
    white-space: nowrap;
}
.tk-item span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--line);
    transition: background 0.3s, box-shadow 0.3s;
}
.tk-item:hover { color: #fff; }
.tk-item:hover span { background: var(--red); box-shadow: 0 0 10px var(--red-glow); }

/* ---------- Services ---------- */
.svc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 580px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1220px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }

.svc {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 24px 24px;
    border-radius: var(--r-m);
    border: 1px solid var(--line-softer);
    background: var(--card-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.45s var(--ease), background 0.4s;
}
.svc::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 14%;
    height: 1px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.svc:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(47, 60, 83, 0.72), rgba(34, 44, 62, 0.6));
    box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.svc:hover::before { opacity: 1; }

.svc-top { display: flex; align-items: center; justify-content: space-between; }
.svc-ic {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(160deg, rgba(45, 58, 83, 0.75), rgba(23, 30, 43, 0.55));
    color: #dfe5ee;
    transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.svc:hover .svc-ic { color: #fff; border-color: rgba(239, 59, 84, 0.4); box-shadow: 0 0 22px -6px var(--red-glow); }
.svc-n {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #56637a;
    direction: ltr;
}
.svc-t { margin-top: 18px; font-size: 16.5px; font-weight: 700; line-height: 1.7; }
.svc-d {
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.95;
    flex: 1;
}
.svc .lnk { margin-top: 20px; font-size: 13px; }

/* ---------- Network / globe ---------- */
.net-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}
@media (min-width: 1024px) { .net-body { grid-template-columns: 1.05fr 0.95fr; } }

.globe-wrap { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.globe-wrap::before {
    content: '';
    position: absolute;
    inset: 9%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 42%, rgba(56, 74, 106, 0.5), rgba(14, 17, 26, 0) 70%);
    filter: blur(2px);
    pointer-events: none;
}
.globe { position: relative; z-index: 1; width: 100%; height: auto; overflow: visible; }
.globe .route-line {
    stroke-dasharray: 3 9;
    stroke-linecap: round;
    animation: globeFlow 30s linear infinite;
}
@keyframes globeFlow { to { stroke-dashoffset: -600; } }

.net-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: #e2e8f1;
    background: rgba(23, 30, 43, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    white-space: nowrap;
    box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.7);
}
.net-chip::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #8fb0ff; box-shadow: 0 0 10px var(--blue-light); }
.net-chip--ir::before { background: var(--red); box-shadow: 0 0 10px var(--red-glow); }

.net-list { margin-top: 34px; display: grid; gap: 4px; }
.nl-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 6px;
    border-bottom: 1px solid var(--line-softer);
    transition: padding-inline-start 0.35s var(--ease), background 0.3s;
}
.nl-item:hover { padding-inline-start: 14px; background: rgba(255, 255, 255, 0.025); border-radius: 12px; }
.nl-flag {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 800;
    color: #d6deea;
    background: rgba(45, 58, 83, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    direction: ltr;
}
.nl-t { font-size: 15px; font-weight: 700; }
.nl-d { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line-softer); background: linear-gradient(180deg, #10151f, #0d1018); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.st {
    text-align: center;
    padding: clamp(34px, 4.5vw, 56px) 18px;
    border-inline-start: 1px solid var(--line-softer);
}
.st:first-child { border-inline-start: 0; }
.st:nth-child(3) { border-inline-start: 0; }
@media (min-width: 900px) { .st:nth-child(3) { border-inline-start: 1px solid var(--line-softer); } }
.st-n {
    font-size: clamp(2.4rem, 4.6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}
.st-n .sfx { color: var(--red); font-size: 0.6em; font-weight: 700; margin-inline-start: 2px; }
.st-l { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- Why iranzakaz ---------- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(44px, 6vw, 96px);
    align-items: start;
}
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1.05fr; } }

.why-a { position: relative; }
@media (min-width: 1024px) { .why-a { position: sticky; top: 120px; } }

.why-wc { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.wc {
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: #cdd6e3;
    background: rgba(34, 43, 60, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.wc::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.why-a .btn { margin-top: 32px; }

.why-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding: 24px 6px 24px 14px;
    border-bottom: 1px solid var(--line-softer);
    transition: background 0.35s, border-color 0.35s;
    border-radius: 14px;
}
.why-item:hover { background: rgba(255, 255, 255, 0.028); border-bottom-color: rgba(239, 59, 84, 0.25); }
.wi-n {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 800;
    color: #dce3ee;
    background: rgba(45, 58, 83, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: background 0.3s, color 0.3s;
    font-variant-numeric: tabular-nums;
    direction: ltr;
}
.why-item:hover .wi-n { background: var(--red-soft); color: var(--red-hi); border-color: rgba(239, 59, 84, 0.35); }
.wi-t { font-size: 16.5px; font-weight: 700; }
.wi-d { margin-top: 5px; font-size: 14px; color: var(--muted); line-height: 1.9; }

.why-quote {
    margin-top: 40px;
    padding: 26px 28px;
    border-radius: var(--r-m);
    border: 1px solid rgba(239, 59, 84, 0.22);
    background: linear-gradient(180deg, rgba(239, 59, 84, 0.07), rgba(239, 59, 84, 0.02));
    font-size: 17px;
    font-weight: 600;
    line-height: 2;
    position: relative;
}
.why-quote::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--red), rgba(239, 59, 84, 0.1));
}

.why-photo {
    margin-bottom: 40px;
    max-width: min(340px, 100%);
    padding: 10px;
    border-radius: var(--r-m);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.why-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--r-m) - 6px);
    object-fit: cover;
}

/* ---------- Process ---------- */
.proc { position: relative; }
.proc-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 700px) { .proc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) {
    .proc-grid { grid-template-columns: repeat(6, 1fr); gap: 18px; padding-top: 74px; }
}

.steps-track {
    display: none;
    position: absolute;
    top: 34px;
    inset-inline: clamp(44px, 8%, 110px);
    height: 2px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.28) 1.4px, transparent 1.7px);
    background-size: 16px 2px;
    background-repeat: repeat-x;
    background-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    animation: trackFlow 3.4s linear infinite;
    opacity: 0.85;
}
@media (min-width: 1020px) { .steps-track { display: block; } }
@keyframes trackFlow { to { background-position-x: 16px; } }

.step {
    position: relative;
    padding: 22px;
    border-radius: var(--r-m);
    border: 1px solid var(--line-softer);
    background: rgba(23, 30, 43, 0.45);
    transition: transform 0.4s var(--ease), border-color 0.35s, background 0.35s;
}
@media (min-width: 1020px) {
    .step { padding: 0; border: 0; background: none; text-align: center; border-radius: 0; }
    .step::before {
        content: '';
        position: absolute;
        top: -45px;
        right: 50%;
        transform: translateX(50%);
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: #141a26;
        border: 2px solid rgba(255, 255, 255, 0.35);
        box-shadow: 0 0 0 6px rgba(23, 30, 43, 0.9);
        transition: border-color 0.3s, box-shadow 0.3s;
    }
    .step:hover::before { border-color: var(--red); box-shadow: 0 0 0 6px rgba(23, 30, 43, 0.9), 0 0 16px var(--red-glow); }
}
.step:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.14); background: rgba(34, 43, 60, 0.55); }
@media (min-width: 1020px) { .step:hover { transform: translateY(-3px); } }

.stp-head { display: flex; align-items: center; gap: 12px; }
@media (min-width: 1020px) { .stp-head { justify-content: center; } }
.stp-n {
    font-size: 12px;
    font-weight: 800;
    color: var(--red);
    letter-spacing: 0.12em;
    direction: ltr;
    opacity: 0.9;
}
.stp-t { font-size: 15.5px; font-weight: 700; line-height: 1.7; }
.stp-d {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.9;
}
@media (min-width: 1020px) { .stp-d { margin-top: 10px; } }

/* ---------- Products ---------- */
.prod-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 600px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }

.prod {
    border-radius: var(--r-l);
    border: 1px solid var(--line-softer);
    background: linear-gradient(180deg, #1a2231, #141a26);
    overflow: hidden;
    transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.prod:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--sh-1), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.prod-cov {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--line-softer);
    display: grid;
    place-items: center;
}
.prod-cov .p-art { position: absolute; inset: 0; transition: transform 0.9s var(--ease); }
.prod:hover .p-art { transform: scale(1.045); }
.prod-cov svg { width: 74px; height: 74px; color: rgba(255, 255, 255, 0.92); filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45)); }
.p-chip {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    z-index: 2;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #e8edf5;
    background: rgba(13, 16, 24, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    direction: ltr;
}
.prod-b { padding: 22px 24px 24px; }
.prod-t { font-size: 17.5px; font-weight: 700; }
.prod-d { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.prod-b .lnk { margin-top: 18px; }

/* ---------- Blog ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 620px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.post {
    display: flex;
    flex-direction: column;
    border-radius: var(--r-l);
    overflow: hidden;
    border: 1px solid var(--line-softer);
    background: linear-gradient(180deg, #1a2231, #141a26);
    transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.post:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.15); box-shadow: var(--sh-1); }

.post-cov {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid var(--line-softer);
    display: grid;
    place-items: center;
}
.post-cov .p-art { position: absolute; inset: 0; transition: transform 0.9s var(--ease); }
.post:hover .p-art { transform: scale(1.05); }
.post-cov svg { width: 56px; height: 56px; color: rgba(255, 255, 255, 0.85); filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.4)); }
.post-cat {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    color: #ffdbe1;
    background: rgba(239, 59, 84, 0.16);
    border: 1px solid rgba(239, 59, 84, 0.3);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.post-b { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted-2); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-t { margin-top: 13px; font-size: 16.5px; font-weight: 700; line-height: 1.85; transition: color 0.25s; }
.post:hover .post-t { color: #fff; }
.post-x { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.95; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post .lnk { margin-top: auto; padding-top: 20px; }

/* ---------- CTA + contact ---------- */
.cta-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--r-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(165deg, #1b2434 0%, var(--bg-1) 55%, #121826 100%);
    overflow: hidden;
    box-shadow: var(--sh-1);
}
@media (min-width: 1024px) { .cta-panel { grid-template-columns: 1.08fr 0.92fr; } }
.cta-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(640px 300px at 12% -12%, rgba(122, 158, 255, 0.09), transparent 60%),
        radial-gradient(560px 340px at 92% 115%, rgba(239, 59, 84, 0.11), transparent 62%);
}
.cta-panel::after {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 9%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239, 59, 84, 0.7), transparent);
    opacity: 0.6;
}

.cta-info { position: relative; padding: clamp(34px, 5vw, 58px); }
.cta-title { margin-top: 18px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.5; }
.cta-lead { margin-top: 16px; color: var(--muted); font-size: 15.5px; line-height: 2; max-width: 480px; }

.cta-list { margin-top: 34px; display: grid; gap: 16px; }
.cl-i { display: flex; align-items: center; gap: 15px; }
.cl-ic {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #e2e8f1;
    background: rgba(45, 58, 83, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.cl-t { font-size: 12.5px; color: var(--muted); }
.cl-v { font-size: 15.5px; font-weight: 700; margin-top: 1px; direction: ltr; text-align: right; }

.cta-form { position: relative; padding: clamp(26px, 3.6vw, 40px); margin: clamp(0px, 2.4vw, 30px) 0; }
@media (min-width: 1024px) { .cta-form { margin-block: clamp(20px, 3vw, 40px); margin-inline-end: clamp(0px, 3vw, 40px); } }
.form-card {
    background: rgba(14, 17, 26, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-l);
    padding: clamp(24px, 3.4vw, 36px);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}
.form-card h3 { font-size: 19px; font-weight: 800; }
.form-card .fc-sub { margin-top: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }

.frow { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 520px) { .frow--2 { grid-template-columns: 1fr 1fr; } }

.fld { display: block; }
.fld label { display: block; font-size: 12.5px; font-weight: 600; color: #b9c2d0; margin-bottom: 7px; }
.fld label em { color: var(--red); font-style: normal; }
.fld input,
.fld textarea,
.fld select {
    width: 100%;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 14.5px;
    color: var(--text);
    background: rgba(10, 13, 20, 0.55);
    border: 1px solid rgba(74, 86, 104, 0.45);
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.fld textarea { min-height: 116px; resize: vertical; line-height: 1.9; }
.fld input::placeholder, .fld textarea::placeholder { color: #5d6a7e; }
.fld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b95a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-inline-start: 15px; padding-inline-end: 15px; }
.fld input:focus, .fld textarea:focus, .fld select:focus {
    outline: none;
    border-color: rgba(239, 59, 84, 0.55);
    background: rgba(10, 13, 20, 0.8);
    box-shadow: 0 0 0 3px rgba(239, 59, 84, 0.12);
}
.fld.has-err input, .fld.has-err textarea { border-color: var(--red); }
.fld .f-err { display: none; margin-top: 6px; font-size: 12px; color: var(--red-hi); }
.fld.has-err .f-err { display: block; }

.form-card .btn { width: 100%; margin-top: 18px; }
.form-note { margin-top: 14px; text-align: center; font-size: 11.5px; color: var(--muted-2); }

.form-ok {
    display: none;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(67, 201, 139, 0.35);
    background: rgba(67, 201, 139, 0.08);
    font-size: 13.5px;
    color: #bfe9d4;
}
.form-ok.show { display: flex; align-items: center; gap: 10px; }

/* ---------- Footer ---------- */
.footer {
    margin-top: clamp(80px, 10vw, 140px);
    background: linear-gradient(180deg, #0b0e15, #090b11);
    border-top: 1px solid var(--line-softer);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239, 59, 84, 0.45), transparent);
    opacity: 0.5;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(36px, 5vw, 60px);
    padding-block: clamp(56px, 7vw, 84px) clamp(40px, 5vw, 60px);
}
@media (min-width: 700px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 1.7fr 0.8fr 1fr 1.3fr; } }

.f-brand p { margin-top: 18px; font-size: 13.5px; color: var(--muted); line-height: 2; max-width: 320px; }
.f-title { font-size: 14px; font-weight: 800; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.f-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--red), transparent);
}
.f-links { display: grid; gap: 4px; }
.f-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 0;
    font-size: 14px;
    color: #a7b0bf;
    transition: color 0.25s, transform 0.25s;
}
.f-links a::before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--line);
    transition: background 0.25s, box-shadow 0.25s;
}
.f-links a:hover { color: #fff; transform: translateX(-4px); }
.f-links a:hover::before { background: var(--red); box-shadow: 0 0 8px var(--red-glow); }

.f-cont { display: grid; gap: 15px; }
.fc-i { display: flex; align-items: flex-start; gap: 13px; font-size: 13.5px; color: #a7b0bf; line-height: 1.9; }
.fc-i svg { flex: 0 0 auto; margin-top: 4px; color: #cfd6e2; }
.fc-i b { color: #e8ecf3; font-weight: 700; display: block; font-size: 13px; }
.fc-i a:hover { color: #fff; }

.socials { display: flex; gap: 10px; margin-top: 24px; }
.soc {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #cfd6e2;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(34, 43, 60, 0.5);
    transition: transform 0.3s var(--ease), color 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.soc:hover {
    transform: translateY(-3px);
    color: #fff;
    border-color: rgba(239, 59, 84, 0.5);
    background: var(--red-soft);
    box-shadow: 0 10px 24px -12px var(--red-glow);
}

.foot-bar {
    border-top: 1px solid var(--line-softer);
    padding-block: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #68748a;
}
.to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #9aa6ba;
    transition: color 0.25s;
}
.to-top:hover { color: var(--red-hi); }

/* ---------- Reveal animation ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); transition-delay: var(--rd, 0s); will-change: opacity, transform; }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="l"] { transform: translateX(-34px); }
.js [data-reveal="r"] { transform: translateX(34px); }
.js [data-reveal="l"].in, .js [data-reveal="r"].in { transform: none; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Card art backgrounds ---------- */
.btn svg { width: 18px; height: 18px; }

.net-chip { transform: translate(-50%, -50%); }

.p-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1.4px);
    background-size: 20px 20px;
    -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent 85%);
    mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent 85%);
}

.pbg1 .p-art, .bbg1 .p-art { background: radial-gradient(120% 100% at 82% 8%, rgba(143, 176, 255, 0.24), transparent 58%), linear-gradient(165deg, #1d2a41, #121a2b); }
.pbg2 .p-art, .bbg2 .p-art { background: radial-gradient(120% 100% at 84% 10%, rgba(239, 59, 84, 0.2), transparent 58%), linear-gradient(165deg, #241c2c, #131a28); }
.pbg3 .p-art, .bbg3 .p-art { background: radial-gradient(120% 100% at 80% 6%, rgba(236, 178, 110, 0.18), transparent 60%), linear-gradient(165deg, #23271f, #121a26); }
.pbg4 .p-art { background: radial-gradient(120% 100% at 86% 12%, rgba(190, 150, 240, 0.18), transparent 58%), linear-gradient(165deg, #1f2130, #121a26); }
.pbg5 .p-art { background: radial-gradient(120% 100% at 16% 6%, rgba(110, 200, 210, 0.17), transparent 58%), linear-gradient(165deg, #18242c, #111a28); }
.pbg6 .p-art { background: radial-gradient(120% 100% at 88% 16%, rgba(150, 205, 150, 0.17), transparent 58%), linear-gradient(165deg, #1c2720, #121a26); }

/* ---------- Small screens ---------- */
@media (max-width: 700px) {
    .hero-title { line-height: 1.5; }
    .hero-route .cap { font-size: 11px; }
    .foot-bar { justify-content: center; text-align: center; }
    .cta-list { gap: 13px; }
    .hero-badge b { display: none; }
    .hero-badge::after { content: '·'; }
    .logo-sub { display: none; }
}

@media (max-width: 480px) {
    .ht-item i { display: none; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
}
