:root{
  --blue:#2E5BFF; --blue-dark:#1E42C7; --blue-soft:#EAF0FF; --cyan:#22B8CF;
  --navy:#0E1B33; --navy-2:#0A1428; --ink:#1B2333; --muted:#67728C;
  --bg:#F5F7FB; --paper:#FFFFFF; --line:#E7EAF3;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0; background:var(--bg); color:var(--ink); font-family:'Vazirmatn', sans-serif; font-weight:400; -webkit-font-smoothing:antialiased; padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px); overflow-x:hidden;}
a{color:inherit; text-decoration:none;}
img,svg{max-width:100%; display:block;}
button,input,textarea,select{font-family:inherit;}
.wrap{max-width:1180px; margin:0 auto; padding:0 28px;}
@media (max-width:640px){ .wrap{padding:0 20px;} }

header{position:fixed; top:0; left:0; right:0; z-index:50; background:transparent; border-bottom:1px solid transparent; padding-top:env(safe-area-inset-top,0px); transition:background .25s, border-color .25s, box-shadow .25s;}
header.scrolled{background:rgba(255,255,255,.94); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); box-shadow:0 6px 24px -18px rgba(20,40,90,.3);}
.nav-row{display:flex; align-items:center; justify-content:space-between; height:78px;}
.logo{display:flex; align-items:center; gap:9px; font-size:1.24rem; font-weight:700; color:#fff; transition:color .25s;}
header.scrolled .logo{color:var(--navy);}
.logo .mark{width:32px; height:32px;}
nav.links{display:flex; align-items:center; gap:30px; font-size:0.96rem;}
nav.links a{color:#fff; position:relative; padding:6px 0; transition:color .2s;}
header.scrolled nav.links a{color:var(--ink);}
nav.links a:hover, nav.links a.active{color:var(--cyan);}
header.scrolled nav.links a:hover, header.scrolled nav.links a.active{color:var(--blue);}
nav.links a.lang{color:rgba(255,255,255,.88); font-size:.86rem; display:flex; align-items:center; gap:5px;}
header.scrolled nav.links a.lang{color:var(--muted);}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; background:var(--blue); color:#fff; border-radius:999px; padding:13px 26px; font-size:.95rem; font-weight:600; border:1px solid var(--blue); cursor:pointer; transition:background .25s, transform .15s, box-shadow .25s; box-shadow:0 8px 20px -8px rgba(46,91,255,.55);}
.btn:hover{background:var(--blue-dark); border-color:var(--blue-dark);}
.btn:active{transform:translateY(1px);}
.btn.ghost{background:#fff; color:var(--navy); border-color:#fff; box-shadow:none;}
.btn.ghost:hover{background:#eef1f8;}
.btn.on-dark{background:var(--cyan); border-color:var(--cyan); color:var(--navy-2); box-shadow:0 8px 20px -8px rgba(34,184,207,.55);}
.btn.on-dark:hover{background:#3fd0e6;}
.btn.block{width:100%;}
.menu-toggle{display:none; background:none; border:none; padding:8px; cursor:pointer;}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after{content:""; display:block; width:22px; height:2px; background:#fff; position:relative; transition:.2s;}
header.scrolled .menu-toggle span, header.scrolled .menu-toggle span::before, header.scrolled .menu-toggle span::after{background:var(--navy);}
.menu-toggle span::before{position:absolute; top:-7px;} .menu-toggle span::after{position:absolute; top:7px;}
nav.links.open{background:#fff;}
nav.links.open a{color:var(--ink) !important;}
nav.links.open a.lang{color:var(--muted) !important;}
@media (max-width:900px){
  nav.links{position:fixed; inset:78px 0 auto 0; background:#fff; flex-direction:column; align-items:flex-start; gap:0; border-bottom:1px solid var(--line); transform:translateY(-8px); opacity:0; pointer-events:none; transition:.2s; max-height:80vh; overflow-y:auto;}
  nav.links.open{transform:translateY(0); opacity:1; pointer-events:auto;}
  nav.links a{width:100%; padding:16px 28px; border-bottom:1px solid var(--line);}
  nav.links .btn{margin:16px 28px;}
  .menu-toggle{display:block;}
}

.page-hero{position:relative; min-height:340px; display:flex; align-items:center; justify-content:center; text-align:center; padding:70px 24px; overflow:hidden;}
.page-hero .bg{position:absolute; inset:0; background-size:cover; background-position:center;}
.page-hero .overlay{position:absolute; inset:0; background:linear-gradient(180deg, rgba(10,20,40,.72), rgba(10,20,40,.85));}
.page-hero-inner{position:relative; z-index:2; max-width:760px;}
.page-hero h1{font-size:clamp(1.8rem,3.6vw,2.5rem); font-weight:700; color:#fff; margin:0 0 14px;}
.page-hero p{color:#CBD5EE; font-size:1.02rem; margin:0;}

.hero{position:relative; min-height:100vh; display:flex; align-items:center; justify-content:center; text-align:center; padding:80px 24px; overflow:hidden;}
.hero .bg{position:absolute; inset:0; background:url('assets/hero-main.jpg') center/cover;}
.hero .overlay{position:absolute; inset:0; background:linear-gradient(180deg, rgba(10,20,40,.72), rgba(10,20,40,.82));}
.hero-inner{position:relative; z-index:2; max-width:820px;}
.eyebrow-row{display:inline-flex; align-items:center; gap:8px; margin-bottom:22px; color:#B9CBFF; font-size:.9rem; background:rgba(255,255,255,.08); padding:8px 18px; border-radius:999px; border:1px solid rgba(255,255,255,.15);}
.eyebrow-row .dot{width:6px; height:6px; border-radius:50%; background:var(--cyan);}
h1.hero-h{font-size:clamp(2rem,4.2vw,3.1rem); line-height:1.35; font-weight:700; color:#fff; margin:0 0 24px;}
h1.hero-h .accent{color:var(--cyan); display:block;}
.hero p.lead{font-size:1.08rem; line-height:1.9; color:#CBD5EE; max-width:52ch; margin:0 auto 36px;}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap; justify-content:center;}

.section-head{max-width:640px; margin:0 auto 48px; text-align:center;}
.section-head h2{font-size:clamp(1.6rem,2.9vw,2.15rem); color:var(--navy); font-weight:700; margin:0 0 14px; line-height:1.4;}
.section-head p{color:var(--muted); font-size:1.02rem; line-height:1.85; margin:0;}
.underline-bar{width:56px; height:4px; background:var(--blue); border-radius:4px; margin:14px auto 0;}
section{padding:88px 0;}
@media (max-width:640px){ section{padding:60px 0;} }

.about{background:var(--paper);}
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.about-grid .label{color:var(--blue); font-weight:700; font-size:.92rem; margin-bottom:12px; display:block;}
.about-grid h2{font-size:clamp(1.55rem,2.7vw,2rem); color:var(--navy); line-height:1.4; margin:0 0 20px; font-weight:700;}
.about-grid .body-text{font-size:1.02rem; line-height:1.95; color:var(--muted);}
.about-photo{border-radius:24px; overflow:hidden; box-shadow:0 30px 60px -30px rgba(20,40,90,.35);}
.about-photo img{width:100%; height:360px; object-fit:cover;}
@media (max-width:820px){ .about-grid{grid-template-columns:1fr; gap:36px;} .about-photo{order:-1;} }
.stat-row{display:flex; gap:24px; margin-top:34px;}
.stat-item{flex:1; background:var(--blue-soft); border-radius:16px; padding:22px 20px;}
.stat-item .num{font-size:1.9rem; font-weight:800; color:var(--blue); display:block; margin-bottom:4px;}
.stat-item .lbl{font-size:.9rem; color:var(--muted);}

.about-badges{display:flex; gap:36px; margin-top:30px; flex-wrap:wrap;}
.about-badge-item{display:flex; align-items:flex-start; gap:12px;}
.about-badge-item .ab-icon{width:40px; height:40px; flex:none; border-radius:11px; background:var(--blue-soft); color:var(--blue); display:flex; align-items:center; justify-content:center;}
.about-badge-item .ab-icon svg{width:20px; height:20px;}
.about-badge-item b{display:block; color:var(--navy); font-size:1rem; margin-bottom:4px;}
.about-badge-item p{margin:0; color:var(--muted); font-size:.88rem; line-height:1.7; max-width:24ch;}

.activity-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:26px;}
.activity-card{background:var(--paper); border:1px solid var(--line); border-radius:18px; overflow:hidden; box-shadow:0 20px 40px -32px rgba(20,40,90,.25); transition:transform .2s, box-shadow .2s;}
.activity-card:hover{transform:translateY(-4px); box-shadow:0 26px 50px -28px rgba(20,40,90,.3);}
.activity-card .ac-img{height:170px; overflow:hidden; background:#F5F7FB; display:flex; align-items:center; justify-content:center;}
.activity-card .ac-img img{width:100%; height:100%; object-fit:contain; padding:10px;}
.activity-card .ac-body{padding:20px 20px 24px;}
.activity-card .ac-icon{width:38px; height:38px; border-radius:10px; background:var(--blue-soft); color:var(--blue); display:flex; align-items:center; justify-content:center; margin-bottom:14px;}
.activity-card .ac-icon svg{width:20px; height:20px;}
.activity-card h3{font-size:1.05rem; color:var(--navy); margin:0 0 8px; font-weight:700;}
.activity-card p{font-size:.88rem; color:var(--muted); line-height:1.75; margin:0 0 14px;}
.activity-card a.more{font-size:.86rem; color:var(--blue); font-weight:600; display:inline-flex; align-items:center; gap:6px;}
@media (max-width:980px){ .activity-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .activity-grid{grid-template-columns:1fr;} }

.values{background:var(--bg);}
.values-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
.value-card{background:#fff; border-radius:20px; padding:34px 26px; text-align:center; box-shadow:0 20px 40px -28px rgba(20,40,90,.25); transition:transform .2s, box-shadow .2s;}
.value-card:hover{transform:translateY(-4px); box-shadow:0 26px 48px -24px rgba(20,40,90,.32);}
.v-icon-wrap{width:56px; height:56px; border-radius:50%; background:var(--blue-soft); display:flex; align-items:center; justify-content:center; margin:0 auto 20px;}
.v-icon-wrap svg{width:26px; height:26px; color:var(--blue);}
.value-card h3{font-size:1.05rem; color:var(--navy); font-weight:700; margin:0 0 10px;}
.value-card p{font-size:.92rem; color:var(--muted); line-height:1.8; margin:0;}
@media (max-width:900px){ .values-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:560px){ .values-grid{grid-template-columns:1fr;} }

.partner{background:var(--paper);}
.partner-grid{display:grid; grid-template-columns:1fr .85fr; gap:56px; align-items:center;}
.partner-grid img{width:100%; height:320px; object-fit:cover; border-radius:20px; box-shadow:0 30px 60px -30px rgba(20,40,90,.35);}
.check-list{list-style:none; margin:24px 0 0; padding:0; display:flex; flex-direction:column; gap:14px;}
.check-list li{display:flex; align-items:flex-start; gap:14px; background:var(--blue-soft); border-radius:14px; padding:16px 18px;}
.check-list .mark-ic{width:22px; height:22px; flex:none; margin-top:1px; color:var(--blue); background:#fff; border-radius:50%; padding:2px;}
.check-list b{display:block; color:var(--navy); font-size:.98rem; font-weight:700; margin-bottom:3px;}
.check-list span{color:var(--muted); font-size:.9rem;}
@media (max-width:860px){ .partner-grid{grid-template-columns:1fr; gap:32px;} .partner-grid img{order:-1; height:240px;} }

.services{background:var(--bg);}
.services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.service-card{background:#fff; border-radius:20px; padding:32px 28px; box-shadow:0 20px 40px -28px rgba(20,40,90,.25); transition:transform .2s, box-shadow .2s;}
.service-card:hover{transform:translateY(-4px); box-shadow:0 26px 48px -24px rgba(20,40,90,.32);}
.s-icon-wrap{width:52px; height:52px; border-radius:14px; background:var(--blue-soft); display:flex; align-items:center; justify-content:center; margin-bottom:20px;}
.s-icon-wrap svg{width:24px; height:24px; color:var(--blue);}
.service-card h3{font-size:1.08rem; color:var(--navy); margin:0 0 10px; font-weight:700;}
.service-card p{color:var(--muted); font-size:.92rem; line-height:1.8; margin:0;}
@media (max-width:900px){ .services-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:600px){ .services-grid{grid-template-columns:1fr;} }

.process-band{background-color:var(--navy); background-image:linear-gradient(rgba(14,27,51,.94), rgba(14,27,51,.97)), repeating-linear-gradient(60deg, rgba(255,255,255,.05) 0 1px, transparent 1px 42px), repeating-linear-gradient(-60deg, rgba(255,255,255,.05) 0 1px, transparent 1px 42px); color:#fff;}
.process-band .section-head p{color:#9FB0D8;}
.process-band .section-head h2{color:#fff;}
.process-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:28px;}
.process-item{background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:18px; padding:28px 24px; backdrop-filter:blur(6px);}
.process-item .step-num{font-size:2.2rem; font-weight:800; color:var(--cyan); display:block; margin-bottom:14px;}
.process-item h4{font-size:1.02rem; font-weight:700; margin:0 0 8px; color:#fff;}
.process-item p{font-size:.88rem; color:#A7B6DA; margin:0; line-height:1.75;}
@media (max-width:820px){ .process-grid{grid-template-columns:1fr 1fr; row-gap:24px;} }
@media (max-width:520px){ .process-grid{grid-template-columns:1fr;} }

.cta-band{background-color:var(--blue-dark); background-image:linear-gradient(120deg, rgba(46,91,255,.88), rgba(10,20,40,.88)), url('assets/cta-pattern-bg.png'); background-blend-mode:normal; background-repeat:no-repeat, repeat; background-size:cover, 56px; color:#fff; text-align:center;}
.cta-band .wrap{padding:70px 28px;}
.cta-band .kicker{color:#C9D8FF; font-weight:700; font-size:.88rem; margin-bottom:14px; display:block; letter-spacing:.5px;}
.cta-band h2{font-size:clamp(1.5rem,2.8vw,2.05rem); line-height:1.5; font-weight:700; margin:0 0 30px;}
.cta-band .cta-actions{display:flex; gap:14px; flex-wrap:wrap; justify-content:center;}

.products{background:var(--paper);}
.products-layout{display:grid; grid-template-columns:1fr 300px; gap:44px; align-items:start;}
.catalog-toolbar{display:flex; gap:14px; align-items:center; margin-bottom:28px; flex-wrap:wrap;}
.search-box{flex:1; position:relative; min-width:220px;}
.search-box input{width:100%; padding:14px 46px 14px 16px; border:1px solid var(--line); background:var(--bg); border-radius:12px; font-size:.95rem; color:var(--ink);}
.search-box input:focus{outline:none; border-color:var(--blue);}
.search-box svg{position:absolute; left:15px; top:50%; transform:translateY(-50%); width:17px; height:17px; color:#9AA4BF;}
.result-count{font-size:.88rem; color:var(--muted); white-space:nowrap;}
.product-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:24px;}
.product-card{background:#fff; border-radius:20px; overflow:hidden; box-shadow:0 20px 40px -28px rgba(20,40,90,.25); display:flex; flex-direction:column; transition:transform .2s, box-shadow .2s;}
.product-card:hover{transform:translateY(-4px); box-shadow:0 26px 48px -24px rgba(20,40,90,.32);}
.product-card .p-img{height:200px; overflow:hidden; background:#F5F7FB; display:flex; align-items:center; justify-content:center;}
.product-card .p-img img{width:100%; height:100%; object-fit:contain; padding:14px;}
.product-card .p-body{padding:22px 22px 24px; flex:1; display:flex; flex-direction:column;}
.product-card .p-brand{font-size:.74rem; font-weight:800; letter-spacing:.5px; color:var(--blue); margin-bottom:8px;}
.product-card h3{font-size:1.02rem; color:var(--navy); font-weight:700; margin:0 0 6px;}
.product-card .p-model{font-size:.84rem; color:#95A0BC; margin-bottom:10px;}
.product-card .p-desc{font-size:.89rem; color:var(--muted); line-height:1.7; margin:0 0 20px; flex:1;}
@media (max-width:600px){ .product-grid{grid-template-columns:1fr;} }

.filter-panel{border-radius:20px; background:var(--bg); padding:24px;}
.filter-panel h4{font-size:.98rem; color:var(--navy); font-weight:700; margin:0 0 16px;}
.filter-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px;}
.filter-list button{width:100%; text-align:right; background:none; border:none; padding:11px 14px; font-size:.92rem; color:var(--muted); cursor:pointer; transition:.2s; border-radius:10px;}
.filter-list button:hover{background:#fff;}
.filter-list button.active{background:var(--blue); color:#fff; font-weight:600;}
.catalog-cta{margin-top:20px; background:var(--navy); border-radius:16px; color:#fff; padding:22px; text-align:center;}
.catalog-cta p{font-size:.87rem; color:#A7B6DA; margin:8px 0 16px; line-height:1.7;}
@media (max-width:860px){ .products-layout{grid-template-columns:1fr;} .filter-panel{display:flex; flex-wrap:wrap; gap:8px; align-items:center;} .filter-list{flex-direction:row; flex-wrap:wrap;} .filter-list button{width:auto; background:#fff;} .catalog-cta{flex:1 0 100%; margin-top:14px;} }

.contact{background:var(--bg);}
.contact-layout{display:grid; grid-template-columns:1.3fr .9fr; gap:36px; align-items:start;}
.contact-form{border-radius:22px; background:#fff; padding:36px; box-shadow:0 20px 40px -28px rgba(20,40,90,.25);}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.form-field{display:flex; flex-direction:column; gap:8px; margin-bottom:20px;}
.form-field.full{grid-column:1/-1;}
.form-field label{font-size:.9rem; color:var(--navy); font-weight:600;}
.form-field input, .form-field select, .form-field textarea{border:1px solid var(--line); background:var(--bg); border-radius:12px; padding:12px 14px; font-size:.95rem; color:var(--ink); font-family:inherit;}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{outline:none; border-color:var(--blue);}
.form-field textarea{resize:vertical; min-height:120px;}
@media (max-width:560px){ .form-grid{grid-template-columns:1fr;} }
.contact-side{display:flex; flex-direction:column; gap:20px;}
.info-card{border-radius:22px; background:#fff; padding:28px; box-shadow:0 20px 40px -28px rgba(20,40,90,.25);}
.info-row{display:flex; align-items:flex-start; gap:14px; padding:15px 0; border-bottom:1px solid var(--line);}
.info-row:first-child{padding-top:0;} .info-row:last-child{border-bottom:none; padding-bottom:0;}
.info-row .ic-wrap{width:38px; height:38px; border-radius:10px; background:var(--blue-soft); display:flex; align-items:center; justify-content:center; flex:none;}
.info-row svg{width:18px; height:18px; color:var(--blue);}
.info-row b{display:block; font-size:.88rem; color:var(--navy); margin-bottom:3px;}
.info-row span{font-size:.9rem; color:var(--muted); line-height:1.6;}
.consult-card{background:linear-gradient(135deg, var(--navy), var(--navy-2)); border-radius:22px; color:#fff; padding:28px;}
.consult-card h4{font-size:1.05rem; font-weight:700; margin:0 0 10px;}
.consult-card p{font-size:.9rem; color:#A7B6DA; line-height:1.75; margin:0 0 20px;}

footer{background:var(--navy-2); color:#93A0C0; padding:70px 0 28px;}
.footer-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1.3fr; gap:44px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,.08);}
.footer-grid h4{color:#fff; font-size:.94rem; font-weight:600; margin:0 0 18px;}
.foot-logo{display:flex; align-items:center; gap:9px; font-size:1.12rem; font-weight:700; color:#fff; margin-bottom:14px;}
.foot-logo .mark{width:26px; height:26px;}
.footer-grid p{font-size:.9rem; line-height:1.9; color:#8593B4; margin:0; max-width:36ch;}
.footer-grid ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px;}
.footer-grid ul a{font-size:.9rem; color:#93A0C0; transition:color .2s;}
.footer-grid ul a:hover{color:var(--cyan);}
.contact-list{display:flex; flex-direction:column; gap:13px; font-size:.88rem; color:#93A0C0; line-height:1.7;}
.bottom-row{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding-top:24px; font-size:.82rem; color:#5E6B8A;}
@media (max-width:900px){ .footer-grid{grid-template-columns:1fr 1fr; row-gap:32px;} }
@media (max-width:560px){ .footer-grid{grid-template-columns:1fr;} }

.hidden{display:none !important;}
::selection{background:var(--blue-soft); color:var(--navy);}

.logo .mark{width:34px; height:34px; object-fit:contain; display:block;}
.foot-logo .mark-badge{background:#fff; border-radius:8px; padding:4px; display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px;}
.foot-logo .mark-badge img{width:100%; height:100%; object-fit:contain;}

.partners{background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.partners .section-head{margin-bottom:40px;}
.partners-row{display:flex; align-items:center; justify-content:center; gap:28px; flex-wrap:wrap;}
.partner-logo{background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px 32px; display:flex; align-items:center; justify-content:center; box-shadow:0 16px 32px -26px rgba(20,40,90,.25); transition:transform .2s, box-shadow .2s;}
.partner-logo:hover{transform:translateY(-3px); box-shadow:0 22px 40px -24px rgba(20,40,90,.3);}
.partner-logo a{display:flex; align-items:center; justify-content:center;}
.partner-logo img{height:44px; width:auto; object-fit:contain;}
