:root {
  --ink: #102033;
  --muted: #5b6d80;
  --line: #dde5eb;
  --navy: #07192d;
  --blue: #103f7a;
  --green: #176b4d;
  --orange: #ed7a13;
  --surface: #ffffff;
  --canvas: #f5f7f8;
  --soft: #eef3f6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Vazirmatn", "IRANSans", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  text-rendering: geometricPrecision;
}
body.ltr { direction: ltr; font-family: "Inter", "Segoe UI", Arial, sans-serif; }
body.rtl { direction: rtl; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-header {
  position: fixed;
  inset: 14px clamp(12px, 3vw, 34px) auto;
  z-index: 20;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 18px;
  color: #fff;
  background: #06172bd8;
  border: 1px solid #ffffff1f;
  border-radius: 10px;
  box-shadow: 0 18px 48px #06172b38;
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .04em; }
.brand img { width: 112px; height: 38px; object-fit: contain; filter: drop-shadow(0 8px 18px #0007); }
.brand span { font-size: 15px; }
.main-nav { display: flex; gap: 22px; margin-inline-start: auto; font-size: 13px; font-weight: 800; }
.main-nav a { color: #dfe9f4; }
.main-nav a:hover { color: #fff; }
.language-switch { display: flex; gap: 4px; padding: 4px; border: 1px solid #ffffff33; border-radius: 999px; background: #ffffff14; }
.language-switch button,
.language-switch a {
  border: 0;
  min-width: 38px;
  height: 28px;
  border-radius: 999px;
  background: transparent;
  color: #dce8f5;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}
.language-switch button.active,
.language-switch a.active { background: #fff; color: var(--blue); }

.hero {
  min-height: 94vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; transform: scale(1.02); }
.hero-overlay {
  background:
    radial-gradient(circle at 50% 42%, #123f8066 0%, #06172b15 32%, #06172bd8 76%),
    linear-gradient(0deg, #06172bf0 0%, #06172bb8 42%, #06172bd6 100%);
}
body.ltr .hero-overlay {
  background:
    radial-gradient(circle at 50% 42%, #123f8066 0%, #06172b15 32%, #06172bd8 76%),
    linear-gradient(0deg, #06172bf0 0%, #06172bb8 42%, #06172bd6 100%);
}
.hero-content {
  position: relative;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 118px;
  text-align: center;
}
body.ltr .hero-content { margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 16px;
  padding: 0 12px;
  border: 1px solid #ffffff24;
  border-radius: 999px;
  background: #ffffff12;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}
.hero h1 {
  margin: 0;
  max-width: 940px;
  margin-inline: auto;
  font-size: clamp(36px, 5.4vw, 70px);
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: 0;
}
.hero p:not(.eyebrow) {
  margin: 24px 0 0;
  max-width: 760px;
  margin-inline: auto;
  color: #dce7f0;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 2.05;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.primary-link, .secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 7px;
  padding: 0 22px;
  font-weight: 900;
}
.primary-link { background: var(--orange); color: #fff; box-shadow: 0 14px 32px #ed7a1340; }
.secondary-link { border: 1px solid #ffffff48; color: #fff; background: #ffffff10; }

.trust-band {
  width: min(1160px, calc(100% - 36px));
  margin: -52px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 54px #10203318;
  overflow: hidden;
}
.trust-band article {
  padding: 26px 24px;
  border-inline-start: 1px solid var(--line);
  text-align: center;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 112px;
}
.trust-band article:first-child { border-inline-start: 0; }
.trust-band strong { display: block; color: var(--blue); font-size: 19px; margin-bottom: 8px; direction: ltr; text-align: center; }
.trust-band span { color: var(--muted); font-size: 13px; line-height: 1.7; }

.section, .split-section, .contact-section {
  width: min(1160px, calc(100% - 36px));
  margin: 104px auto;
}
.section {
  scroll-margin-top: 116px;
}
.intro {
  display: block;
  padding: 12px 0;
  text-align: center;
}
.intro > div {
  max-width: 820px;
  text-align: center;
  margin-inline: auto;
}
.intro > p {
  max-width: 760px;
  margin: 22px auto 0;
  text-align: center;
}
.section h2, .split-section h2, .contact-section h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.36;
  font-weight: 950;
  letter-spacing: 0;
}
.contact-section h2 {
  max-width: 620px;
  font-size: clamp(26px, 2.55vw, 34px);
  line-height: 1.45;
}
.section p, .split-section p, .contact-section p {
  color: var(--muted);
  line-height: 2.05;
  font-size: 15px;
  text-align: center;
}
.section-head {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}
.section-head .eyebrow {
  margin-inline: auto;
}
.section-head h2 {
  margin-inline: auto;
}
.product-grid, .quality-grid, .insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.product-grid article, .quality-grid article, .service-list div, .contact-card, .insight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 34px #1020330b;
}
.product-grid article {
  min-height: 230px;
  padding: 30px;
  text-align: center;
  display: grid;
  align-content: center;
  justify-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-grid article:hover { transform: translateY(-4px); box-shadow: 0 18px 44px #10203315; }
.product-grid span {
  display: inline-flex;
  color: var(--orange);
  font-weight: 900;
  margin-bottom: 22px;
  direction: ltr;
}
.product-grid h3, .quality-grid h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.55; }
.product-grid p, .quality-grid p { margin: 0; font-size: 13.5px; }
.product-grid p {
  max-width: 520px;
  text-align: center;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  background:
    linear-gradient(135deg, #07192d 0%, #0d315c 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 64px #07192d24;
}
.split-section .section-copy {
  text-align: center;
  justify-self: center;
}
.split-section .section-copy .eyebrow {
  margin-inline: auto;
}
.split-section h2 {
  margin-inline: auto;
}
.split-section p { color: #d6e1ec; }
.service-list { display: grid; gap: 12px; }
.service-list div {
  padding: 18px 20px;
  background: #ffffff10;
  border-color: #ffffff24;
  text-align: center;
  justify-content: center;
}
.service-list b { color: #fff; }

.quality-grid { grid-template-columns: repeat(3, 1fr); }
.quality-grid article { padding: 28px; }
.quality-grid article {
  text-align: center;
  display: grid;
  align-content: center;
  justify-items: center;
}
.quality-grid p {
  text-align: center;
}

.insights-section {
  scroll-margin-top: 116px;
}
.insights-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.insight-card {
  min-height: 220px;
  padding: 28px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.insight-card:hover {
  transform: translateY(-4px);
  border-color: #b9c8d6;
  box-shadow: 0 18px 44px #10203315;
}
.insight-card span {
  color: var(--orange);
  font-weight: 900;
  margin-bottom: 18px;
  direction: ltr;
}
.insight-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.55;
}
.insight-card p {
  margin: 0;
  max-width: 440px;
  font-size: 13.5px;
  text-align: center;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .78fr);
  gap: 44px;
  align-items: start;
  padding-top: 4px;
}
.contact-section > div:first-child {
  padding-top: 4px;
  text-align: center;
  justify-self: center;
}
.contact-section > div:first-child .eyebrow,
.contact-section h2,
.contact-section > div:first-child > p {
  margin-inline: auto;
}
.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  color: var(--ink);
  font-weight: 800;
}
.contact-lines span {
  display: block;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  line-height: 1.8;
  text-align: center;
}
.contact-card { padding: 24px; display: grid; gap: 14px; }
.contact-card label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 800; text-align: center; }
.contact-card input, .contact-card textarea {
  width: 100%;
  border: 1px solid #cbd6df;
  border-radius: 7px;
  min-height: 43px;
  padding: 10px 12px;
  outline: 0;
}
.contact-card input:focus, .contact-card textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #123f8014; }
.contact-card textarea { min-height: 104px; resize: vertical; }
.contact-card button {
  border: 0;
  min-height: 47px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 58px);
  background: #07172a;
  color: #d8e3ee;
}
.site-footer span { font-weight: 900; letter-spacing: .08em; }
.site-footer p { margin: 0; color: #93a5b8; }

.article-header {
  min-height: 76px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: #07172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.article-header nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.article-header a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}
.article-shell {
  padding: 56px 18px 86px;
}
.article-card {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(28px, 5vw, 58px);
  box-shadow: var(--shadow);
  text-align: center;
}
.article-card h1 {
  margin: 10px 0 22px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.35;
}
.article-card h2 {
  margin: 34px 0 14px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.55;
}
.article-card p,
.article-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 2.15;
}
.article-card ul {
  display: inline-block;
  max-width: 680px;
  margin: 0 auto;
  text-align: start;
}
.article-cta a,
.article-language-links a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}
.article-language-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.article-language-links a {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7fafc;
  font-size: 12px;
}
.article-language-links a.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}


.process-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: 44px;
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #07192d 0%, #0d315c 100%);
  box-shadow: 0 24px 64px #07192d24;
}
.process-preview-copy { text-align: center; }
.process-preview-copy .eyebrow, .process-preview-copy h2 { margin-inline: auto; }
.process-preview-copy p:not(.eyebrow) { color: #d6e1ec; max-width: 700px; margin: 18px auto 0; }
.process-preview-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; margin-top: 24px; padding: 0 22px;
  border-radius: 7px; background: var(--orange); color: #fff; font-weight: 900;
}
.process-preview-flow { display: flex; align-items: center; justify-content: center; direction: ltr; }
.process-preview-flow span { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #ffffff46; border-radius: 14px; background: #ffffff12; font-size: 12px; font-weight: 950; }
.process-preview-flow i { height: 2px; min-width: 14px; flex: 1 1 28px; background: linear-gradient(90deg, #ffffff28, var(--orange), #ffffff28); }

@media (max-width: 980px) {
  .site-header { flex-wrap: wrap; gap: 12px; background: #06172bea; inset: 10px 10px auto; }
  .main-nav { order: 3; width: 100%; justify-content: center; margin: 0; }
  .language-switch { margin-inline-start: auto; }
  .trust-band, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .intro, .split-section, .contact-section, .process-preview { grid-template-columns: 1fr; }
  .intro { text-align: center; }
  .intro > div, .intro > p { max-width: 760px; margin-inline: auto; }
  .intro .eyebrow { margin-inline: auto; }
  .quality-grid, .insights-grid { grid-template-columns: 1fr; }
  .process-preview-flow { width: min(620px, 100%); margin-inline: auto; }
}

@media (max-width: 620px) {
  .site-header { padding: 9px 10px; }
  .brand img { width: 92px; }
  .brand span { display: none; }
  .main-nav { gap: 14px; font-size: 12px; overflow-x: auto; padding-bottom: 2px; justify-content: flex-start; }
  .language-switch button,
.language-switch a { min-width: 33px; }
  .hero { min-height: 735px; }
  .hero-content { width: calc(100% - 28px); margin: 0 auto; padding-top: 164px; }
  .eyebrow { font-size: 11px; }
  .hero h1 { font-size: 31px; line-height: 1.28; }
  .hero p:not(.eyebrow) { font-size: 14.5px; line-height: 2; }
  .hero-overlay, body.ltr .hero-overlay { background: linear-gradient(0deg, #06172bf6 0%, #06172bd8 58%, #06172b78 100%); }
  .trust-band, .product-grid { grid-template-columns: 1fr; }
  .trust-band { margin-top: 0; width: 100%; border-radius: 0; }
  .trust-band article { border-inline-start: 0; border-top: 1px solid var(--line); }
  .section, .split-section, .contact-section { margin: 66px auto; }
  .section-head { text-align: center; }
  .section-head .eyebrow, .section-head h2 { margin-inline: auto; }
  .intro { text-align: center; }
  .intro .eyebrow { margin-inline: auto; }
  .contact-section h2 { font-size: 25px; }
  .split-section, .process-preview { padding: 26px; }
  .process-preview-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
  .process-preview-flow i { display: none; }
  .process-preview-flow span { width: 100%; }
  .site-footer { display: grid; }
}

/* SEO foundation additions */
.language-switch a { display:flex; align-items:center; justify-content:center; text-decoration:none; }
.contact-lines a { color: inherit; text-decoration: none; }
.contact-lines a:hover { color: var(--orange); }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.breadcrumbs { max-width: 980px; margin: 24px auto 0; padding: 0 18px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--blue); text-decoration: none; font-weight: 800; }
.article-card .checklist { padding-inline-start: 1.25rem; }
.article-card .checklist li { margin-bottom: 8px; }
.article-meta-note { margin: 28px 0; padding: 18px 20px; border-inline-start: 4px solid var(--orange); background: #fff8f1; border-radius: 8px; color: var(--muted); line-height: 2; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(145deg,#07192d,#0d315c); color:#fff; }
.error-card { width:min(760px,100%); text-align:center; padding:clamp(30px,6vw,64px); background:#ffffff10; border:1px solid #ffffff24; border-radius:16px; backdrop-filter:blur(8px); }
.error-card h1 { font-size:clamp(54px,12vw,110px); margin:0; color:var(--orange); }
.error-card p { line-height:2; color:#d9e4ee; }
.error-links { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:24px; }
.error-links a { padding:12px 18px; border-radius:999px; background:#fff; color:var(--blue); font-weight:900; text-decoration:none; }
