/* ==========================================================================
base.css
========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}

:root {
    /* پالت اصلی برند */
    --c-primary: #1e1d56;
    --c-primary-light: #322f7d;
    --c-primary-dark: #111033;
    --c-secondary: #289ebc;
    --c-secondary-light: #4ec1de;
    --c-secondary-dark: #1a7690;
    --c-white: #ffffff;

    /* تن‌های مشتق‌شده (بر پایه سه رنگ اصلی) */
    --c-ink: #0c0b28;
    --c-paper: #eaf6fb;
    --c-paper-alt: #dcf0f7;
    --c-line: rgba(30, 29, 86, 0.12);
    --c-muted: #6a6a86;


    /* رنگ‌های چاپ (نشانه‌های ثبت رنگ CMYK) — عنصر امضادار طراحی */
    --ink-cyan: #00aeef;
    --ink-magenta: #ec008c;
    --ink-yellow: #fff200;
    --ink-key: #1a1a1a;

    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 34px;
    --radius-pill: 999px;

    --shadow-soft: 0 20px 60px -20px rgba(17, 16, 51, 0.35);
    --shadow-hard: 0 30px 80px -25px rgba(17, 16, 51, 0.55);

    --ease-out: cubic-bezier(.16, .84, .44, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);

    --container: 1240px;

    /*یکی دیگه*/


    --navy-950: #0c1533;
    --navy-900: #101c42;
    --navy-800: #152657;
    --navy-700: #1c3170;
    --teal-600: #1b98a8;
    --teal-500: #26b4c4;
    --teal-400: #3fcbda;
    --teal-300: #7fe0ea;
    --teal-glow: rgba(38, 180, 196, .35);
    --paper: #eaf6fb;
    --paper-2: #dcf0f7;
    --white: #ffffff;
    --slate-500: #6b7684;
    --slate-400: #8892a0;
    --slate-200: #dde3ea;
    --gold: #e8b34d;
    --shadow-card: 0 10px 30px -12px rgba(16, 28, 66, .18);
    --ease: cubic-bezier(.16, .84, .44, 1);

    /*   یکی دیگه */
    --navy: #1e1d56;
    --navy-dark: #131233;
    --navy-soft: #3b3a78;
    --navy-pale: #eeedf6;
    --teal: #289ebc;
    --teal-light: #6cc4da;
    --teal-pale: #e8f6fa;
    --ink: #201f45;
    --ink-soft: #54527c;
    --line: #dedcee;
    --font-display: 'Vazirmatn', sans-serif;
    --font-body: 'Vazirmatn', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;


}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    font-family: inherit;
    background: var(--c-paper);
    color: var(--c-ink);
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {

    overflow: hidden;

}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

input, textarea, select {
    font-family: inherit;
}

::selection {
    background: var(--c-secondary);
    color: var(--c-white);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 3px solid var(--c-secondary);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.section--tight {
    padding: 90px 0;
}

.section--dark {
    background: var(--c-primary);
    color: var(--c-white);
}

.section--alt {
    background: var(--c-paper-alt);
}

/* اِیبرو / لیبل بخش‌ها — به‌جای شماره‌گذاری، از نشانه چاپی استفاده می‌کنیم */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--c-secondary-dark);
    background: rgba(40, 158, 188, 0.1);
    border: 1px solid rgba(40, 158, 188, 0.25);
    padding: 8px 18px 8px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 22px;
}

.section--dark .eyebrow {
    color: var(--c-secondary-light);
    background: rgba(78, 193, 222, 0.12);
    border-color: rgba(78, 193, 222, 0.3);
}

.eyebrow .reg-mark {
    width: 14px;
    height: 14px;
}

.heading-xl {
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: var(--c-primary);
}

.section--dark .heading-xl {
    color: var(--c-white);
}

.heading-lg {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.3;
    color: var(--c-primary);
}

.section--dark .heading-lg {
    color: var(--c-white);
}

.heading-xl b, .heading-lg b {
    color: var(--c-secondary);
    font-weight: 800;
    position: relative;
}

.text-lead {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--c-muted);
    max-width: 640px;
}

.section--dark .text-lead {
    color: rgba(255, 255, 255, 0.72);
}

.section-head {
    max-width: 720px;
    margin-bottom: 64px;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

/* دکمه‌ها */
.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 34px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 15px;
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s;
    isolation: isolate;
    white-space: nowrap;
}

.btn-primary {
    background: var(--c-secondary);
    color: var(--c-white);
    box-shadow: 0 14px 34px -10px rgba(40, 158, 188, 0.55);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -12px rgba(40, 158, 188, 0.65);
}

.btn-outline {
    border: 1.5px solid rgba(30, 29, 86, 0.25);
    color: var(--c-primary);
}

.btn-outline:hover {
    background: var(--c-primary);
    color: var(--c-white);
    transform: translateY(-4px);
}

.section--dark .btn-outline {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--c-white);
}

.section--dark .btn-outline:hover {
    background: var(--c-white);
    color: var(--c-primary);
}

.btn-ghost-light {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: var(--c-white);
}

.btn-ghost-light:hover {
    background: var(--c-white);
    color: var(--c-primary);
    transform: translateY(-4px);
}

.btn > span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
1. و نوار پیشرفت اسکرول
========================================================================== */
.scroll-progress {
    position: fixed;
    inset-inline-start: 0;
    top: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, var(--c-secondary), var(--c-primary));
    z-index: 9999;
    transition: width .1s linear;
}

/* ==========================================================================
2. عناصر تزئینی چاپی — نشانه‌های ثبت رنگ / رجیستریشن مارک
========================================================================== */
.reg-mark {
    display: inline-block;
}

.reg-mark circle, .reg-mark line {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.4;
}

.floating-marks .mark {
    position: absolute;
    opacity: .16;
    color: var(--c-secondary);
    animation: float-rotate 14s ease-in-out infinite;
}

.floating-marks .mark:nth-child(2) {
    animation-duration: 18s;
    animation-delay: -4s;
    color: var(--c-primary);
}

.floating-marks .mark:nth-child(3) {
    animation-duration: 11s;
    animation-delay: -8s;
}

@keyframes float-rotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-26px) rotate(180deg);
    }
}

/* SVG Divider بین سکشن‌ها */
.divider {
    display: block;
    width: 100%;
    line-height: 0;
    position: relative;
    z-index: 1;
}

.divider svg {
    width: 100%;
    height: 70px;
}

/* ==========================================================================
3. Reveal on Scroll
========================================================================== */
[data-reveal] {
    opacity: 0;
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
    will-change: transform, opacity;
}

[data-reveal="up"] {
    transform: translateY(50px);
}

[data-reveal="left"] {
    transform: translateX(-60px);
}

[data-reveal="right"] {
    transform: translateX(60px);
}

[data-reveal="zoom"] {
    transform: scale(.85);
}

[data-reveal].in-view {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* ==========================================================================
4. هدر / منوی شناور
========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 1000;
    padding: 22px 0;
    transition: padding .4s var(--ease-out), background .4s, box-shadow .4s;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(246, 247, 251, 0.75);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 8px 30px -18px rgba(17, 16, 51, 0.25);
    border-bottom: 1px solid rgba(30, 29, 86, 0.06);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 21px;
    color: var(--c-primary);
}

.brand .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 8px 20px -8px rgba(40, 158, 188, 0.6);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    position: relative;
    padding: 10px 18px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--c-primary);
    border-radius: var(--radius-pill);
    transition: color .3s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    inset-inline: 18px;
    bottom: 6px;
    height: 2px;
    background: var(--c-secondary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .35s var(--ease-out);
}

.main-nav a:hover::after, .main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav a:hover {
    color: var(--c-secondary-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    z-index: 1001;
}

.hamburger span {
    height: 2.5px;
    background: var(--c-primary);
    border-radius: 2px;
    transition: transform .35s var(--ease-out), opacity .3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/*.mobile-nav {*/
/*    position: fixed;*/
/*    inset: 0;*/
/*    background: var(--c-primary);*/
/*    z-index: 999;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    gap: 14px;*/
/*    transform: translateY(-100%);*/
/*    transition: transform .5s var(--ease-in-out);*/
/*}*/

/*.mobile-nav.open {*/
/*    transform: translateY(0);*/
/*}*/

/*.mobile-nav a {*/
/*    font-size: 24px;*/
/*    font-weight: 700;*/
/*    color: #fff;*/
/*    padding: 10px 20px;*/
/*}*/


.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    box-shadow: -20px 0 50px rgba(0, 0, 0, .12);
    transition: .45s cubic-bezier(.2, .8, .2, 1);
    padding: 40px 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9999;
    overflow-y: auto;
}

.mobile-nav.open {
    right: 0;
}

.mobile-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .35);

    backdrop-filter: blur(6px);

    opacity: 0;

    visibility: hidden;

    transition: .35s;

    z-index: 9998;

}

.mobile-overlay.show {

    opacity: 1;

    visibility: visible;

}

.mobile-nav a {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px 0;

    font-size: 16px;

    font-weight: 700;

    color: #1e1d56;

    border-bottom: 1px solid #ececec;

    transition: .3s;

}

.mobile-nav a:hover {

    padding-right: 10px;

    color: #289ebc;
}

.mobile-btn {

    margin-top: 20px;

    height: 52px;

    border-radius: 16px;

    background: #289ebc;

    display: flex;

    justify-content: center;

    align-items: center;

    color: #fff;

    font-weight: 700;

}

/* ==========================================================================
5. Hero
========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(ellipse 80% 60% at 85% -10%, rgba(40, 158, 188, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 5% 100%, rgba(30, 29, 86, 0.10), transparent 60%),
    var(--c-paper);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns:1.1fr .9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.hero-eyebrow .dot-live {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--c-secondary);
    box-shadow: 0 0 0 0 rgba(40, 158, 188, 0.6);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 158, 188, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(40, 158, 188, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 158, 188, 0);
    }
}

.hero-eyebrow span {
    font-weight: 700;
    font-size: 14px;
    color: var(--c-primary);
    letter-spacing: .3px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.18;
    color: var(--c-primary);
    letter-spacing: -1px;
    margin-bottom: 26px;
}

.hero h1 .misreg {
    position: relative;
    display: inline-block;
    color: var(--c-secondary);
}

.hero h1 .misreg::before, .hero h1 .misreg::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    opacity: .55;
}

.hero h1 .misreg::before {
    color: var(--ink-cyan);
    transform: translate(2px, -1px);
    mix-blend-mode: multiply;
}

.hero h1 .misreg::after {
    color: var(--ink-magenta);
    transform: translate(-2px, 1px);
    mix-blend-mode: multiply;
}

.hero h1 .misreg.settled::before, .hero h1 .misreg.settled::after {
    transform: translate(0, 0);
    opacity: 0;
    transition: transform 1.1s var(--ease-out) .3s, opacity 1.1s var(--ease-out) .3s;
}

.hero .typing-line {
    font-size: clamp(17px, 2vw, 21px);
    color: var(--c-secondary-dark);
    font-weight: 700;
    margin-bottom: 22px;
    min-height: 32px;
}

.hero .typing-line .cursor-bar {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--c-secondary);
    vertical-align: -2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

.hero-visual {
    position: relative;
}

.hero-visual .frame-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    transform: rotate(2deg);
    transition: transform .6s var(--ease-out);
}

.hero-visual:hover .frame-main {
    transform: rotate(0deg) scale(1.01);
}

.hero-visual .frame-main img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
}


.hero-visual .frame-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(30, 29, 86, 0.25), transparent 50%);
}

.hero-visual .float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: card-float 5s ease-in-out infinite;
}

.hero-visual .float-card.c1 {
    top: 8%;
    inset-inline-start: -8%;
    animation-delay: 0s;
}

.hero-visual .float-card.c2 {
    bottom: 10%;
    inset-inline-end: -6%;
    animation-delay: 1.4s;
}

@keyframes card-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

.hero-visual .float-card .ic {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--c-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.hero-visual .float-card b {
    display: block;
    font-size: 14px;
    color: var(--c-primary);
}

.hero-visual .float-card span {
    font-size: 12px;
    color: var(--c-muted);
}

.hero-marks {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
9. مزایای همکاری
========================================================================== */
.benefits-wrap {
    display: grid;
    grid-template-columns:.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.benefits-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hard);
}

.benefits-visual img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
}

.benefit-row {
    display: flex;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid var(--c-line);
}

.benefit-row:last-child {
    border-bottom: none;
}

.benefit-row .b-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(40, 158, 188, 0.12);
    color: var(--c-secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .35s, color .35s, transform .35s;
}

.benefit-row:hover .b-icon {
    background: var(--c-secondary);
    color: #fff;
    transform: rotate(-8deg) scale(1.06);
}

.benefit-row h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--c-primary);
    margin-bottom: 6px;
}

.benefit-row p {
    font-size: 14.5px;
    color: var(--c-muted);
}

/* ==========================================================================
10. فرآیند انجام سفارش — تایم‌لاین افقی
========================================================================== */
.process-track {
    position: relative;
    display: grid;
    grid-template-columns:repeat(5, 1fr);
    gap: 24px;
}

.process-track::before {
    content: '';
    position: absolute;
    top: 34px;
    inset-inline: 6%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--c-line) 0 10px, transparent 10px 20px);
}

.process-step {
    position: relative;
    text-align: center;
}

.process-step .step-node {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    background: var(--c-white);
    border: 2px solid var(--c-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    color: var(--c-primary);
    transition: border-color .4s, transform .4s, background .4s, color .4s;
}

.process-step:hover .step-node {
    border-color: var(--c-secondary);
    background: var(--c-secondary);
    color: #fff;
    transform: scale(1.12) rotate(8deg);
}

.process-step h4 {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--c-primary);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 13.5px;
    color: var(--c-muted);
}

/* ==========================================================================
11. آمار مجموعه — شمارنده
========================================================================== */
.stats-band {
    background: var(--c-primary-dark);
    color: #fff;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-block .counter {
    font-size: clamp(38px, 4.5vw, 58px);
    font-weight: 800;
    color: var(--c-secondary-light);
}

.stat-block .counter::after {
    content: attr(data-suffix);
}

.stat-block p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14.5px;
    font-weight: 600;
}

/* ==========================================================================
16. سوالات متداول — آکاردئون
========================================================================== */
.faq-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--c-line);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 4px;
    cursor: pointer;
}

.faq-icon {
    font-size: 18px;
    transition: transform .3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(90deg);
}

.faq-q h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-primary);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s var(--ease-out);
}

.faq-a p {
    padding: 0 4px 26px;
    color: var(--c-muted);
    font-size: 14.5px;
    max-width: 640px;
}

/* ==========================================================================
18. مقالات
========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 26px;
}

.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform .5s var(--ease-out), box-shadow .5s;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hard);
}

.blog-card .b-img {
    position: relative;
    overflow: hidden;
    height: 210px;
}

.blog-card .b-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease-out);
}

.blog-card:hover .b-img img {
    transform: scale(1.1);
}

.blog-card .b-img .b-date {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 8px 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--c-primary);
    line-height: 1.3;
}

.blog-card .b-body {
    padding: 26px;
}

.blog-card .b-cat {
    font-size: 12px;
    font-weight: 700;
    color: var(--c-secondary-dark);
    margin-bottom: 10px;
}

.blog-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--c-primary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.blog-card p {
    font-size: 14px;
    color: var(--c-muted);
    margin-bottom: 18px;
}

.blog-card .b-more {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--c-secondary-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card .b-more svg {
    transition: transform .3s;
}

.blog-card:hover .b-more svg {
    transform: translateX(-5px);
}

/* ==========================================================================
21. CTA
========================================================================== */
.cta-band {
    position: relative;
    background: linear-gradient(120deg, var(--c-primary), var(--c-primary-dark) 60%);
    color: #fff;
    border-radius: var(--radius-lg);
    margin: 0 28px;
    padding: 90px 60px;
    text-align: center;
    overflow: hidden;
}


.cta-band h2 {
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto 38px;
    position: relative;
    z-index: 2;
}

.cta-band .hero-cta {
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
22. فوتر
========================================================================== */
.site-footer {
    background: var(--c-ink);
    color: rgba(255, 255, 255, 0.65);
    padding-top: 90px;
}

.footer-grid {
    display: grid;
    grid-template-columns:1.4fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand {
    color: #fff;
    margin-bottom: 18px;
}

.footer-grid h5 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 22px;
}

.footer-grid ul li {
    margin-bottom: 13px;
    font-size: 14px;
}

.footer-grid ul li a {
    transition: color .3s, padding-inline-start .3s;
}

.footer-grid ul li a:hover {
    color: var(--c-secondary-light);
    padding-inline-start: 6px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}

.footer-social a:hover {
    background: var(--c-secondary);
    border-color: var(--c-secondary);
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 0;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-newsletter {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 13px;
}

.footer-newsletter button {
    background: var(--c-secondary);
    color: #fff;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 13px;
}


/* ==========================================================================
   FEATURES STRIP
   ========================================================================== */
.features {
    padding: 20px 0 90px;
}

.features-grid {
    display: grid;
    grid-template-columns:repeat(5, 1fr);
    gap: 22px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    border: 1px solid rgba(16, 28, 66, .04);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 50px -20px rgba(28, 49, 112, .28);
}

.feature-ico {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #eafbfc, #dff3f6);
    color: var(--teal-600);
    transition: transform .35s var(--ease), background .35s var(--ease);
}

.feature-card:hover .feature-ico {
    background: linear-gradient(160deg, var(--teal-500), var(--teal-600));
    color: var(--white);
    transform: rotate(-8deg) scale(1.06);
}

.feature-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy-950);
}

.feature-card p {
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--slate-500);
}

/* ==========================================================================
PORTFOLIO — SLIDER
========================================================================== */

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-tabs button {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1.4px solid var(--line);
    background: var(--white);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-soft);
    transition: all .3s var(--ease);
}

.filter-tabs button.active,
.filter-tabs button:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}



.portfolio {
    padding: 110px 0;
    background: var(--paper);
}
.portfolio-slider-wrap {
    position: relative;
}

.portfolio-grid {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 4px 26px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.portfolio-grid::-webkit-scrollbar {
    display: none;
}


.pf-card {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: start;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    transition: transform .5s var(--ease), opacity .4s, box-shadow .5s var(--ease);
}

.pf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px -28px rgba(30, 29, 86, .4);
}

.pf-card.hide {
    display: none;
}

.pf-visual {
    aspect-ratio: 1 / 1;
    height: auto;
    position: relative;
    overflow: hidden;
    background: var(--paper-2);
}

.pf-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.pf-card:hover .pf-visual img {
    transform: scale(1.06);
}
/* دکمه‌های ناوبری — دایره‌ای، شناور روی تصاویر */
.pf-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--navy);
    z-index: 5;
    box-shadow: 0 8px 24px -6px rgba(17, 16, 51, 0.35);
    transition: all .3s var(--ease);
}

.pf-nav:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    transform: translateY(-50%) scale(1.1);
}

.pf-nav svg {
    width: 20px;
    height: 20px;
}

.pf-prev {
    inset-inline-start: 14px;
}

.pf-next {
    inset-inline-end: 14px;
}

.pf-nav:disabled {
    opacity: .35;
    pointer-events: none;
}

@media (max-width: 760px) {
    .pf-nav {
        width: 38px;
        height: 38px;
    }
    .pf-nav svg {
        width: 17px;
        height: 17px;
    }
}
/* نقاط پیجینیشن (اختیاری) */
.pf-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.pf-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--line);
    transition: all .3s;
}

.pf-dots span.active {
    background: var(--navy);
    width: 22px;
    border-radius: 4px;
}

@media (max-width: 760px) {
    .pf-card {
        width: 200px;
    }

}


.testimonials {

    background: #eaf6fb;
    position: relative;

}

.testimonial-slider {

    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 30px;

}

.testimonial-card {

    position: relative;

    padding: 35px;

    border-radius: 28px;

    background: rgba(255, 255, 255, .55);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .6);

    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);

    transition: .45s;

}

.testimonial-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 35px 70px rgba(30, 29, 86, .18);

}

.quote {

    position: absolute;

    top: 15px;

    left: 25px;

    font-size: 90px;

    color: #289ebc20;

    font-weight: bold;

}

.stars {

    color: #FFD54A;

    font-size: 20px;

    margin-bottom: 20px;

    letter-spacing: 3px;

}

.testimonial-card p {

    color: #555;

    line-height: 2;

    font-size: 15px;

    margin-bottom: 30px;

}

.user {

    display: flex;

    align-items: center;

    gap: 15px;

}

.user img {

    width: 65px;

    height: 65px;

    border-radius: 50%;

    object-fit: cover;

    border: 3px solid #289ebc;

}

.user h4 {

    color: #1e1d56;

    font-size: 17px;

    margin-bottom: 3px;

}

.user span {

    color: #777;

    font-size: 13px;

}


.floating-call {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #289ebc, #1e1d56);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(40, 158, 188, .4);
    z-index: 9999;
    transition: all .3s ease;
    animation: callPulse 2s infinite;
}

.floating-call:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 40px rgba(40, 158, 188, .6);
}

@keyframes callPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 158, 188, .5);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(40, 158, 188, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 158, 188, 0);
    }
}

.product-card {

    position: relative;

    overflow: hidden;

    border-radius: 28px;

    background: #fff;

    border: 1px solid rgba(30, 29, 86, .08);

    box-shadow: 0 18px 45px rgba(17, 16, 51, .08);

    transition: .45s cubic-bezier(.2, .8, .2, 1);

    isolation: isolate;

}

.product-card:hover {

    transform: translateY(-12px);

    box-shadow: 0 35px 70px rgba(17, 16, 51, .18);

}

.product-card::before {

    content: "";

    position: absolute;

    top: -120%;

    left: -70%;

    width: 55%;

    height: 300%;

    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .65),
            transparent
    );

    transform: rotate(25deg);

    transition: 1s;

    z-index: 3;

    pointer-events: none;

}

.product-card:hover::before {

    left: 170%;

}

.product-image {

    position: relative;

    aspect-ratio: 1/1;

    overflow: hidden;

    background: #eef3f8;

}

.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    background: #fff;

}

.product-card:hover img {

    transform: scale(1.12);

}

.product-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
            180deg,
            transparent,
            rgba(15, 15, 40, .45)
    );

    opacity: .6;

}

.product-actions {

    position: absolute;

    left: 15px;

    top: 15px;

    display: flex;

    flex-direction: column;

    gap: 10px;

    z-index: 5;

}

.product-actions a {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255, 255, 255, .88);

    backdrop-filter: blur(10px);

    transform: translateX(-20px);

    opacity: 0;

    transition: .4s;

}

.product-card:hover .product-actions a {

    opacity: 1;

    transform: none;

}

.product-actions a:nth-child(2) {

    transition-delay: .08s;

}

.product-actions a:nth-child(3) {

    transition-delay: .16s;

}

.product-body {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 22px;

}

.product-body h3 {

    font-size: 20px;

    font-weight: 900;

    color: #1e1d56;

}

.product-body p {

    font-size: 13px;

    line-height: 1.9;

    color: #777;

    margin-bottom: 10px;

}

.product-features span {

    padding: 7px 12px;

    border-radius: 30px;

    font-size: 11px;

    font-weight: 700;

    background: #eef6f8;

    color: #289ebc;

}

.product-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 5px;

}

.price {

    display: flex;
    flex-direction: column;
    gap: 4px;

}

.price span {

    font-size: 14px;
    color: #8a8fa8;
    font-weight: 500;

}

.price strong {

    font-size: 18px;
    font-weight: 800;
    color: #1e1d56;
    line-height: 1.4;

}

.product-footer .btn {

    transform: translateY(12px);

    opacity: 0;

    transition: .45s;

}

.product-card:hover .btn {

    transform: none;

    opacity: 1;

}

.product-btn {

    width: 100%;

    margin-top: 18px;

    padding: 14px;

    border-radius: 14px;

    background: #f3f8fb;

    border: 1px solid rgba(40, 158, 188, .18);

    color: #1e1d56;

    font-weight: 700;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    transition: .35s;

}

.product-btn:hover {

    background: #289ebc;

    color: #fff;

    border-color: #289ebc;

    transform: translateY(-2px);

}

.category-head {

    display: flex;

    align-items: center;

    gap: 18px;

    margin: 60px 0 30px;

}

.category-line {

    width: 6px;

    height: 58px;

    border-radius: 20px;

    background: linear-gradient(180deg, #289ebc, #1e1d56);

    flex-shrink: 0;

}

.category-content h3 {

    margin: 0;

    font-size: 30px;

    font-weight: 800;

    color: #1e1d56;

}

.category-content p {

    margin: 8px 0 0;

    font-size: 14px;

    color: #7b8195;

}

/* ==========================================================================
24. ریسپانسیو
========================================================================== */


.faq-item.open .plus {
    transform: rotate(180deg);
}


.contact {

    background: var(--c-paper);

}

.contact-wrapper {

    display: grid;
    grid-template-columns:1.15fr .85fr;
    gap: 40px;
    align-items: stretch;

}

.contact-map {

    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 500px;

}

.contact-map iframe {

    width: 100%;
    height: 100%;
    border: 0;

}

.contact-card {

    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(16px);

    border-radius: 30px;

    padding: 40px;

    border: 1px solid rgba(30, 29, 86, .08);

    box-shadow: var(--shadow-soft);

    display: flex;

    flex-direction: column;

    gap: 22px;

}

.contact-item {

    display: flex;

    gap: 18px;

    align-items: flex-start;

    padding-bottom: 22px;

    border-bottom: 1px solid rgba(30, 29, 86, .08);

}

.contact-item:last-child {

    border: none;
    padding-bottom: 0;

}

.contact-item .icon {

    width: 58px;
    height: 58px;

    border-radius: 18px;

    background: #289ebc15;

    color: #289ebc;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 24px;

    flex-shrink: 0;

    transition: .35s;

}

.contact-item:hover .icon {

    background: #289ebc;

    color: #fff;

    transform: rotate(-8deg);

}

.contact-item h4 {

    color: #1e1d56;

    font-size: 18px;

    margin-bottom: 6px;

    font-weight: 800;

}

.contact-item p,
.contact-item a {

    color: #666;

    font-size: 15px;

    line-height: 1.9;

    transition: .3s;

}

.contact-item a:hover {

    color: #289ebc;

}


.products {

    background: #eaf6fb;

}

.products-grid {

    display: grid;

    grid-template-columns:repeat(4, minmax(0, 1fr));

    gap: 28px;

}


@media (max-width: 1080px) {

    .benefits-wrap {
        grid-template-columns:1fr;
    }

    .process-track {
        grid-template-columns:repeat(3, 1fr);
    }

    .process-track::before {
        display: none;
    }

    .stats-grid {
        grid-template-columns:repeat(3, 1fr);
        gap: 50px 20px;
    }

    .portfolio-grid {
        grid-template-columns:repeat(3, 1fr);
    }

    .blog-grid {
        grid-template-columns:1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns:1fr 1fr;
    }

    .hero .container {
        grid-template-columns:1fr;
    }

    .features-grid {
        grid-template-columns:repeat(4, 1fr);

        .feature-card:nth-child(n+5) {
            display: none;
        }
    }

    .contact-wrapper {

        grid-template-columns:1fr;

    }

    .contact-map {

        min-height: 400px;

        order: 2;

    }

    .contact-card {

        order: 1;

    }

    .testimonial-slider {

        grid-template-columns:1fr;

    }


    .products-grid {

        grid-template-columns:repeat(3, 1fr);

    }
        .design-grid {
        grid-template-columns: repeat(3, 1fr);
    }
        .portfolio-grid {
    grid-template-columns:repeat(4, 1fr);
}

}


@media (max-width: 760px) {


    .main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

.portfolio-grid {
    grid-template-columns:repeat(2, 1fr);
}


    .section {
        padding: 80px 0;
    }

    .hero {
        padding-top: 120px;
    }


    .design-grid {
        grid-template-columns: repeat(2, 1fr);
    }



    .process-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:last-child {
        grid-column: 1 / -1;
    }


    .stats-grid {
        grid-template-columns:repeat(2, 1fr);
    }

    .stat-block:last-child {
        grid-column: 1 / -1;

    }


    .team-grid {
        grid-template-columns:1fr 1fr;
    }

    .form-row {
        grid-template-columns:1fr;
    }

    .form-shell {
        padding: 30px 22px;
    }

    .footer-grid {
        grid-template-columns:1fr;
        gap: 36px;
    }

    .cta-band {
        margin: 0 16px;
        padding: 60px 26px;
    }

    .contact-info-card {
        padding: 30px;
    }

    .header-actions .btn {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card:nth-child(n+5) {
        display: none;
    }

    .floating-call {
        width: 58px;
        height: 58px;
        bottom: 20px;
        right: 20px;
    }

    .products-grid {

        grid-template-columns:repeat(2, 1fr);

        gap: 18px;

    }
 .hero-visual .float-card {
        padding: 10px 14px;
        gap: 8px;
        border-radius: var(--radius-sm);
    }

    .hero-visual .float-card .ic {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .hero-visual .float-card .ic svg {
        width: 15px;
        height: 15px;
    }

    .hero-visual .float-card b {
        font-size: 12px;
    }

    .hero-visual .float-card span {
        font-size: 10.5px;
    }

    .hero-visual .float-card.c1 {
        top: 4%;
        inset-inline-start: 4%;
    }

    .hero-visual .float-card.c2 {
        bottom: 4%;
        inset-inline-end: 4%;
    }


}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns:1fr;
    }

    .container {
        padding: 0 16px;
    }

    .brand {
        min-width: 0;
        flex-shrink: 1;
        overflow: hidden;
    }

    .header-actions {
        flex-shrink: 0;
    }

    .products-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


.ac-cats-index{
    position:absolute;
    top:14px; inset-inline-start:14px;
    display:flex; gap:6px; flex-wrap:wrap;
}
.ac-cats-index span{
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(6px);
    color:var(--c-primary);
    font-size:11px;
    font-weight:800;
    padding:6px 12px;
    border-radius:var(--radius-pill);
}





