/*
Theme Name: NGar BI
Theme URI: https://iranbi.com/
Author: Dadehaye Goyaye Negar
Description: قالب شرکتی فارسی و راست‌چین برای داده‌های گویای نگار؛ متمرکز بر هوش تجاری، انباره داده و راهکارهای هوش مصنوعی.
Version: 1.9.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: ngar-bi
*/

:root {
  --ng-ink: #454B50;
  --ng-ink-2: #5D6369;
  --ng-accent: #C62828;
  --ng-accent-bright: #EF5350;
  --ng-accent-pale: #FDECEC;
  --ng-paper: #F7F7F7;
  --ng-white: #fff;
  --ng-text: #42474C;
  --ng-muted: #747A80;
  --ng-line: #E1E2E3;
  --ng-shadow: 0 18px 48px rgba(40, 40, 40, .09);
  --ng-radius: 22px;
  --ng-radius-sm: 14px;
  --ng-max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--ng-white); color: var(--ng-text);
  font-family: Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.95;
  direction: rtl; text-align: right; -webkit-font-smoothing: antialiased;
}
body, button, input, textarea, select { font-family: Tahoma, Arial, sans-serif; }
a { color: var(--ng-accent); text-decoration: none; transition: color .2s ease, background .2s ease, transform .2s ease; }
a:hover { color: var(--ng-ink); }
img { max-width: 100%; height: auto; }
button, input, textarea { font-size: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid #F5A3A3; outline-offset: 3px; }
::selection { background: #F9DADA; color: var(--ng-ink); }

.skip-link { position: absolute; top: -100px; right: 18px; z-index: 10000; background: var(--ng-ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: min(calc(100% - 40px), var(--ng-max)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-soft { background: var(--ng-paper); }
.section-dark { color: #fff; background: var(--ng-ink); position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(239,83,80,.17); border-radius: 50%; left: -170px; top: -230px; box-shadow: 0 0 0 42px rgba(239,83,80,.025), 0 0 0 84px rgba(239,83,80,.025); }
.section-heading { max-width: 760px; margin: 0 0 38px; }
.section-heading.center { text-align: center; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--ng-accent); font-size: 13px; font-weight: 700; letter-spacing: .1px; margin: 0 0 15px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; display: inline-block; }
.section-dark .eyebrow { color: var(--ng-accent-bright); }
h1, h2, h3, h4 { color: var(--ng-ink); line-height: 1.55; margin: 0 0 18px; font-weight: 800; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.8px; }
h2 { font-size: clamp(27px, 3.2vw, 39px); letter-spacing: -.35px; }
h3 { font-size: 20px; }
p { margin: 0 0 18px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ng-muted); max-width: 760px; }
.section-dark .lead { color: #C9CCCF; }
.muted { color: var(--ng-muted); }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.text-link::after { content: "←"; font-size: 18px; }
.button-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 12px 21px; border: 1px solid transparent; border-radius: 12px; font-weight: 700; line-height: 1.5; }
.button-primary { background: var(--ng-accent); color: #fff; box-shadow: 0 9px 22px rgba(198,40,40,.2); }
.button-primary:hover { background: #A61F26; color: #fff; transform: translateY(-2px); }
.button-secondary { border-color: #D0D3D5; color: var(--ng-ink); background: #fff; }
.button-secondary:hover { border-color: var(--ng-accent); color: var(--ng-accent); background: #FFF8F8; }
.section-dark .button-secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.28); }
.section-dark .button-secondary:hover { background: rgba(255,255,255,.08); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.93); border-bottom: 1px solid rgba(225,232,239,.86); backdrop-filter: blur(14px); }
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 190px; color: var(--ng-ink); }
.brand:hover { color: var(--ng-ink); }
.brand-symbol { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; border-radius: 13px; color: #FFFFFF; background: linear-gradient(135deg, #F9A3A3, #C62828); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.brand-name { display: block; font-size: 15px; font-weight: 800; line-height: 1.45; }
.brand-tagline { display: block; color: var(--ng-muted); font-size: 10px; line-height: 1.4; margin-top: 3px; }
.custom-logo { display: block; max-height: 54px; max-width: 58px; width: auto; height: auto; object-fit: contain; }
.brand-logo-image { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; max-width: 58px; max-height: 54px; }
.brand-copy { display: inline-flex; flex-direction: column; min-width: 0; }
.primary-nav { display: flex; align-items: center; gap: 25px; }
.nav-list { display: flex; align-items: center; gap: 23px; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; padding: 0; }
.nav-list a { display: inline-block; color: #596067; font-size: 14px; font-weight: 700; padding: 11px 0; white-space: nowrap; }
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--ng-accent); }
.header-cta { white-space: nowrap; padding: 11px 17px; min-height: 42px; font-size: 13px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--ng-line); border-radius: 12px; background: #fff; color: var(--ng-ink); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Hero */
.hero { overflow: hidden; position: relative; padding: 75px 0 68px; background: radial-gradient(circle at 11% 5%, rgba(239,83,80,.12), transparent 28%), linear-gradient(180deg, #FAFAFA 0%, #fff 100%); }
.hero::after { content: ""; position: absolute; width: 480px; height: 480px; border: 1px solid rgba(198,40,40,.10); border-radius: 50%; left: -240px; bottom: -325px; box-shadow: 0 0 0 45px rgba(198,40,40,.025), 0 0 0 90px rgba(198,40,40,.025); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 65px; position: relative; z-index: 1; }
.hero-copy { max-width: 630px; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy h1 .accent { color: var(--ng-accent); position: relative; }
.hero-copy p { max-width: 620px; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 23px; color: var(--ng-muted); font-size: 13px; margin-top: 26px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.meta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ng-accent); box-shadow: 0 0 0 4px #FDECEC; }
.hero-visual { min-height: 440px; position: relative; display: flex; align-items: center; justify-content: center; }
.visual-orbit { position: absolute; width: 390px; height: 390px; border: 1px solid rgba(198,40,40,.17); border-radius: 50%; }
.visual-orbit::before, .visual-orbit::after { content: ""; position: absolute; inset: 28px; border: 1px dashed rgba(198,40,40,.21); border-radius: 50%; }
.visual-orbit::after { inset: 69px; border-style: solid; opacity: .75; }
.data-board { width: min(100%, 430px); min-height: 315px; z-index: 2; position: relative; border: 1px solid rgba(255,255,255,.95); border-radius: 23px; padding: 21px; background: rgba(255,255,255,.91); box-shadow: 0 25px 70px rgba(40,40,40,.15); transform: rotate(-2deg); backdrop-filter: blur(12px); }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid #EEEEEE; }
.board-title { color: var(--ng-ink); font-size: 13px; font-weight: 800; }
.board-pill { border-radius: 30px; background: #FDECEC; color: #A61F26; padding: 4px 9px; font-size: 10px; font-weight: 700; }
.board-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 17px 0; }
.board-kpi { border: 1px solid #E8E8E8; border-radius: 12px; padding: 11px 9px; background: #fff; }
.board-kpi small { display: block; color: #7E8388; font-size: 10px; margin-bottom: 4px; }
.board-kpi-indicator { display: block; width: 35px; height: 5px; margin: 7px 0 6px; border-radius: 8px; background: var(--ng-accent); opacity: .9; }
.board-kpi:nth-child(2) .board-kpi-indicator { width: 27px; opacity: .72; }
.board-kpi:nth-child(3) .board-kpi-indicator { width: 19px; opacity: .55; }
.board-kpi em { display: block; color: var(--ng-accent); font-size: 10px; font-style: normal; margin-top: 2px; }
.board-chart { height: 125px; padding: 12px 12px 0; border-radius: 13px; background: linear-gradient(180deg,#FFF7F7,#fff); border: 1px solid #EAEAEA; display: flex; align-items: end; gap: 9px; overflow: hidden; }
.chart-bar { flex: 1; height: var(--bar-height); background: linear-gradient(180deg, #F05A5A, #C62828); border-radius: 6px 6px 0 0; opacity: .92; min-width: 8px; }
.chart-bar:nth-child(2n) { opacity: .58; }
.data-chip { position: absolute; z-index: 3; background: #fff; border: 1px solid #E6E6E6; border-radius: 14px; padding: 12px 15px; box-shadow: 0 13px 35px rgba(40,40,40,.11); display: flex; align-items: center; gap: 10px; }
.data-chip strong { display: block; color: var(--ng-ink); font-size: 12px; }
.data-chip small { display: block; color: var(--ng-muted); font-size: 10px; }
.chip-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 11px; background: var(--ng-accent-pale); color: var(--ng-accent); }
.chip-one { top: 28px; right: -10px; }
.chip-two { left: -2px; bottom: 30px; }
.trust-strip { border-top: 1px solid #EEEEEE; padding: 23px 0 0; margin-top: 42px; }
.trust-inner { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.trust-item { display: flex; gap: 10px; align-items: center; color: #666C72; font-size: 13px; font-weight: 700; }
.trust-item svg { color: var(--ng-accent); }

/* Cards & content */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-card, .feature-card, .project-card, .article-card { background: #fff; border: 1px solid var(--ng-line); border-radius: var(--ng-radius); padding: 27px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover, .feature-card:hover, .project-card:hover, .article-card:hover { transform: translateY(-5px); box-shadow: var(--ng-shadow); border-color: #F2BFC0; }
.card-icon { width: 53px; height: 53px; border-radius: 16px; display: grid; place-items: center; background: var(--ng-accent-pale); color: var(--ng-accent); margin-bottom: 22px; }
.card-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p, .feature-card p, .project-card p, .article-card p { color: var(--ng-muted); font-size: 14px; line-height: 1.95; margin-bottom: 18px; }
.service-card .text-link { font-size: 13px; }
.section-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 31px; }
.section-foot p { color: var(--ng-muted); margin: 0; font-size: 14px; }
.split-layout { display: grid; grid-template-columns: .93fr 1.07fr; gap: 62px; align-items: center; }
.split-art { position: relative; min-height: 360px; background: linear-gradient(145deg, #FDEDED, #F6F6F6); border: 1px solid #F6D8D8; border-radius: 28px; padding: 30px; overflow: hidden; }
.split-art::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(239,83,80,.14); top: -70px; left: -62px; }
.architecture-box { position: relative; background: rgba(255,255,255,.92); border: 1px solid #DADCDD; border-radius: 15px; padding: 17px 19px; margin: 0 auto 14px; max-width: 285px; box-shadow: 0 8px 20px rgba(40,40,40,.045); }
.architecture-box strong { display: block; color: var(--ng-ink); font-size: 13px; }
.architecture-box small { display: block; color: var(--ng-muted); font-size: 11px; margin-top: 3px; }
.architecture-line { width: 1px; height: 19px; background: #E9A3A4; margin: -14px auto 0; position: relative; z-index: 2; }
.architecture-box.highlight { background: var(--ng-ink); border-color: var(--ng-ink); }
.architecture-box.highlight strong { color: #fff; }
.architecture-box.highlight small { color: #C0C4C7; }
.benefit-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 13px; }
.benefit-list li { display: flex; align-items: start; gap: 11px; color: var(--ng-text); }
.check { display: inline-grid; place-items: center; width: 23px; height: 23px; flex: 0 0 23px; border-radius: 50%; color: #A61F26; background: #FDECEC; margin-top: 3px; font-weight: 800; font-size: 12px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.step-card { border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.045); border-radius: 18px; padding: 23px 20px; }
.step-card h3 { font-size: 17px; }
.step-card p { font-size: 13px; color: #C4C7CA; margin: 0; }
.cta-panel { position: relative; overflow: hidden; padding: 42px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: linear-gradient(115deg, #474D53, #62696F); border-radius: 26px; color: #fff; }
.cta-panel::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; left: -80px; top: -160px; border: 1px solid rgba(239,83,80,.32); box-shadow: 0 0 0 30px rgba(239,83,80,.05), 0 0 0 60px rgba(239,83,80,.04); }
.cta-panel h2 { color: #fff; font-size: clamp(25px, 3vw, 34px); margin-bottom: 8px; }
.cta-panel p { color: #C8CBCE; margin: 0; max-width: 680px; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel .button { flex: 0 0 auto; }
.empty-state { border: 1px dashed #D2D4D6; background: rgba(255,255,255,.66); border-radius: 18px; padding: 30px; color: var(--ng-muted); text-align: center; }
.empty-state strong { display: block; color: var(--ng-ink); margin-bottom: 5px; }

/* Page headers and posts */
.page-hero { padding: 65px 0 53px; background: radial-gradient(circle at 10% 0%, rgba(239,83,80,.11), transparent 29%), var(--ng-paper); border-bottom: 1px solid #EEEEEE; }
.page-hero h1 { font-size: clamp(31px, 4.2vw, 47px); margin-bottom: 14px; }
.breadcrumbs { font-size: 12px; color: var(--ng-muted); margin-bottom: 17px; }
.breadcrumbs a { color: var(--ng-muted); }
.breadcrumbs span { margin: 0 8px; color: #92979B; }
.content-wrap { padding: 58px 0 90px; }
.entry-content { max-width: 850px; }
.entry-content > * { margin-inline: 0; }
.entry-content h2, .entry-content h3 { margin-top: 30px; }
.entry-content ul, .entry-content ol { padding-right: 24px; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote { border-right: 3px solid var(--ng-accent); background: var(--ng-paper); margin: 25px 0; padding: 18px 22px; color: #62686E; border-radius: 0 12px 12px 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.article-card { overflow: hidden; padding: 0; }
.article-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg,#FDECEC,#F0F0F0); }
.article-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.article-card:hover .article-thumb img { transform: scale(1.04); }
.article-body { padding: 23px; }
.entry-meta { color: var(--ng-muted); font-size: 12px; margin-bottom: 10px; }
.article-body h2, .article-body h3 { font-size: 18px; margin-bottom: 10px; }
.entry-title { font-size: clamp(30px,4vw,46px); }
.entry-featured { border-radius: 22px; margin: 24px 0 34px; }
.pagination { display: flex; gap: 8px; margin-top: 35px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; border: 1px solid var(--ng-line); border-radius: 10px; align-items: center; justify-content: center; padding: 7px 12px; }
.pagination .current { background: var(--ng-ink); color: #fff; border-color: var(--ng-ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 27px; align-items: start; }
.contact-info { color: #fff; background: var(--ng-ink); padding: 29px; border-radius: 21px; }
.contact-info h2, .contact-info h3 { color: #fff; font-size: 23px; }
.contact-info p { color: #C8CBCE; font-size: 14px; }
.contact-detail { display: flex; gap: 13px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-detail svg { flex: 0 0 22px; color: var(--ng-accent-bright); margin-top: 4px; }
.contact-detail small { display: block; color: #A3A7AB; font-size: 11px; }
.contact-detail strong, .contact-detail a { color: #fff; font-size: 13px; overflow-wrap: anywhere; }
.contact-form-wrap { background: #fff; border: 1px solid var(--ng-line); border-radius: 21px; padding: 29px; box-shadow: 0 12px 32px rgba(40,40,40,.04); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.form-field { margin-bottom: 17px; }
.form-field label { display: block; color: var(--ng-ink); font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; border: 1px solid #DDDEDF; border-radius: 11px; padding: 12px 14px; background: #FAFAFA; color: var(--ng-text); min-height: 48px; outline: none; }
.form-field textarea { min-height: 145px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--ng-accent); box-shadow: 0 0 0 3px rgba(198,40,40,.1); }
.form-note { font-size: 12px; color: var(--ng-muted); margin-top: 13px; }
.form-alert { padding: 13px 15px; border-radius: 10px; margin-bottom: 17px; font-size: 13px; }
.form-alert.success { background: #e8f8f0; color: #146b4c; }
.form-alert.error { background: #fff0ed; color: #9f3829; }
.hp-field { position: absolute !important; right: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Footer */
.site-footer { background: #3D4247; color: #C8CBCE; padding: 57px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1fr; gap: 40px; padding-bottom: 42px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-tagline { color: #9BA0A4; }
.footer-about { color: #B5B9BC; font-size: 13px; max-width: 340px; margin-top: 17px; }
.footer-title { font-size: 14px; color: #fff; font-weight: 800; margin-bottom: 17px; }
.footer-menu, .footer-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-menu a { color: #BEC2C5; font-size: 13px; }
.footer-menu a:hover { color: var(--ng-accent-bright); }
.footer-contacts li { font-size: 12px; overflow-wrap: anywhere; }
.footer-contacts a { color: #BEC2C5; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.11); padding: 19px 0; color: #92979B; font-size: 11px; }
.footer-bottom p { margin: 0; }


/* Customer logo directory */
.customer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.customer-card { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; padding: 22px 18px 18px; background: #fff; border: 1px solid var(--ng-line); border-radius: 18px; text-align: center; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.customer-card:hover { transform: translateY(-3px); box-shadow: var(--ng-shadow); border-color: #F2BFC0; }
.customer-logo-link { display: flex; width: 100%; min-height: 86px; align-items: center; justify-content: center; border-radius: 10px; }
.customer-logo-box { display: flex; width: 100%; min-height: 86px; align-items: center; justify-content: center; }
.customer-logo { display: block; width: auto; height: auto; max-width: 100%; max-height: 74px; object-fit: contain; }
.customer-logo-placeholder { display: inline-flex; min-height: 60px; width: 100%; align-items: center; justify-content: center; padding: 8px; color: var(--ng-ink); background: var(--ng-paper); border: 1px dashed #DADCDD; border-radius: 10px; font-size: 13px; font-weight: 700; line-height: 1.8; }
.customer-name { margin: 3px 0 0; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.customer-description { margin: 0; color: var(--ng-muted); font-size: 12px; line-height: 1.8; }
.customer-grid-page { row-gap: 22px; }
.customer-grid-page .customer-card { min-height: 165px; }

/* Responsive */
@media (max-width: 1000px) {
  .primary-nav { gap: 16px; }
  .nav-list { gap: 14px; }
  .nav-list a { font-size: 13px; }
  .header-cta { display: none; }
  .hero-grid { gap: 30px; }
  .hero-visual { min-height: 385px; }
  .visual-orbit { width: 335px; height: 335px; }
  .data-board { max-width: 380px; }
  .grid-3 { gap: 15px; }
  .service-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2 / 4; }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 30px), var(--ng-max)); }
  .section { padding: 65px 0; }
  .header-inner { min-height: 72px; }
  .brand { min-width: 0; }
  .nav-toggle { display: grid; place-items: center; }
  .primary-nav { display: none; position: absolute; top: calc(100% + 1px); right: 0; left: 0; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--ng-line); box-shadow: 0 18px 25px rgba(40,40,40,.07); }
  .primary-nav.is-open { display: block; }
  .nav-list { display: grid; gap: 0; }
  .nav-list a { display: block; padding: 10px 3px; border-bottom: 1px solid #F2F2F2; font-size: 14px; }
  .hero { padding: 47px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 15px; }
  .hero-copy h1 { font-size: clamp(34px, 9vw, 47px); }
  .hero-copy p { font-size: 16px; }
  .hero-visual { min-height: 345px; margin-top: 5px; }
  .visual-orbit { width: 300px; height: 300px; }
  .data-board { width: min(100%, 370px); padding: 16px; }
  .board-kpi strong { font-size: 16px; }
  .chip-one { right: -2px; top: 15px; }
  .chip-two { left: -2px; bottom: 13px; }
  .trust-strip { margin-top: 24px; }
  .trust-inner { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
  .trust-item { font-size: 12px; }
  .grid-3, .post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .split-layout { grid-template-columns: 1fr; gap: 30px; }
  .split-art { min-height: 330px; }
  .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cta-panel { align-items: flex-start; flex-direction: column; padding: 30px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 29px 22px; }
  .footer-grid > :last-child { grid-column: auto; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 28px); }
  .brand-symbol { width: 39px; height: 39px; flex-basis: 39px; }
  .brand-name { font-size: 13px; }
  .brand-tagline { font-size: 9px; }
  .hero-visual { min-height: 300px; }
  .visual-orbit { width: 260px; height: 260px; }
  .data-board { min-height: 275px; padding: 13px; }
  .board-title { font-size: 11px; }
  .board-kpis { gap: 5px; margin: 12px 0; }
  .board-kpi { padding: 8px 6px; }
  .board-kpi small { font-size: 9px; }
  .board-kpi strong { font-size: 14px; }
  .board-chart { height: 100px; gap: 6px; }
  .data-chip { padding: 8px 10px; }
  .chip-icon { width: 30px; height: 30px; }
  .data-chip strong { font-size: 10px; }
  .data-chip small { font-size: 9px; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-2, .post-grid { grid-template-columns: 1fr; }
  .service-card, .feature-card, .project-card { padding: 23px; }
  .section-foot { align-items: flex-start; flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap, .contact-info { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 45px 0 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 900px) {
  .customer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .customer-card { padding: 17px 12px 14px; }
  .customer-logo-box, .customer-logo-link { min-height: 72px; }
  .customer-logo { max-height: 60px; }
}


/* English language mode */
body.ngar-lang-en { direction: ltr; text-align: left; font-family: Arial, Helvetica, sans-serif; }
body.ngar-lang-en, body.ngar-lang-en button, body.ngar-lang-en input, body.ngar-lang-en textarea, body.ngar-lang-en select { font-family: Arial, Helvetica, sans-serif; }
body.ngar-lang-en .hero-grid { direction: ltr; }
body.ngar-lang-en .hero-copy, body.ngar-lang-en .section-heading, body.ngar-lang-en .split-layout > div { text-align: left; }
body.ngar-lang-en .eyebrow { letter-spacing: .2px; }
body.ngar-lang-en .eyebrow::before { order: -1; }
body.ngar-lang-en .text-link::after { content: "→"; }
body.ngar-lang-en .skip-link { right: auto; left: 18px; }
body.ngar-lang-en .section-dark::before { left: auto; right: -170px; }
body.ngar-lang-en .hero::after { left: auto; right: -240px; }
body.ngar-lang-en .data-board { transform: rotate(2deg); }
body.ngar-lang-en .button-row, body.ngar-lang-en .hero-meta { direction: ltr; }
body.ngar-lang-en .nav-list { direction: ltr; }
body.ngar-lang-en .footer-menu, body.ngar-lang-en .footer-contacts { text-align: left; }
body.ngar-lang-en .language-switcher { direction: ltr; }
body.ngar-lang-en .customer-name, body.ngar-lang-en .customer-description { text-align: center; }
.language-switcher { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; padding: 4px; border: 1px solid var(--ng-line); border-radius: 11px; background: #fff; white-space: nowrap; }
.language-switcher a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 30px; padding: 3px 8px; border-radius: 7px; color: var(--ng-ink); font-size: 12px; font-weight: 800; }
.language-switcher a.is-active { background: var(--ng-accent); color: #fff; }
@media (max-width: 1050px) { .language-switcher { margin-inline-start: auto; } }
