/* Editorial rhythm for Persian-first bilingual content. */
:root {
  --navy: #0b1736;
  --section-gap: clamp(22px, 3vw, 38px);
  --card-shadow: 0 6px 20px rgb(11 23 54 / 8%);
  background: #f3f6fa;
}
.head { min-height: 76px; gap: clamp(12px, 2.3vw, 26px); }
.header nav { gap: clamp(12px, 2.3vw, 25px); }
.header nav .en-copy { font-size: .75em; }
.head-action { background: var(--google-green); color: #071a13; border-color: #4abc6b; }
.head-action .en-copy { color: #071a13; }
.head-action:hover { background: #48bd67; }
.hero {
  color: #fff;
  background: radial-gradient(ellipse at 20% 100%, #183d54, transparent 54%),
    linear-gradient(135deg, #12284c, var(--navy) 65%);
  border-color: #233d5e;
  box-shadow: 0 14px 34px rgb(11 23 54 / 18%);
  padding: clamp(22px, 3.8vw, 48px);
  gap: clamp(20px, 4vw, 54px);
  border-radius: 24px;
}
.hero h1 { font-size: clamp(36px, 4.65vw, 65px); margin-bottom: 18px; }
.hero h1 em { color: #9ee5af; }
.hero .eyebrow { color: #f2d584; }
.hero .lead { color: #ecf2f9; }
.hero .en-copy { color: #becfe1; }
.hero .primary .en-copy { color: #071a13; }
.hero h1 .en-copy { font-size: clamp(15px, 1.9vw, 22px); color: #e2ebf5; margin-top: 11px; }
.hero .secondary { border-color: #7690ad; }
.hero .secondary:hover { background: #203b5e; }
.hero .visual {
  border-color: #6280a04d;
  background: radial-gradient(ellipse at center, #29557290, transparent 74%), #1d3b5b80;
  box-shadow: inset 0 1px 0 #ffffff20, 0 9px 22px #07152b50;
  min-height: clamp(250px, 27vw, 332px);
  border-radius: 18px;
}
.visual .chip { box-shadow: none; border-color: #7696af; }
.visual .core { width: 100px; height: 100px; border-radius: 24px; }
.visual .core .mark { width: 76px; height: 76px; }
.company-card, .products, .contact {
  background: #fff;
  border: 1px solid #dae4f0;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: clamp(16px, 2.5vw, 28px);
}
.company-card { border-inline-start: 3px solid var(--gold); }
.process-panel {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 3px 0;
}
.process-panel .cards { gap: clamp(10px, 1.6vw, 18px); }
.process-panel .cards article { padding: clamp(14px, 1.65vw, 19px); }
.process-panel .cards article:nth-child(1) { --wash: #edf3fc; }
.process-panel .cards article:nth-child(2) { --wash: #edf8f0; }
.process-panel .cards article:nth-child(3) { --wash: #faf4e3; }
.contact { margin-block-end: var(--section-gap); }
main h2 .en-copy { font-size: clamp(13px, 1.45vw, 17px); margin-block-start: 6px; }
main p > .en-copy { margin-block-start: 7px; }
main .eyebrow > .en-copy { margin-block-start: 3px; }
@media (max-width: 650px) {
  .head { min-height: 0; }
  .hero, .company-card, .products, .contact { border-radius: 17px; }
  .hero .visual { min-height: 248px; }
}

/* Separate reading columns for Persian and English copy. */
.language-pair { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(12px, 3vw, 36px); align-items: start; }
.language-pair > * { min-width: 0; }
.en-column { border-inline-start: 1px solid #cdd9e8; padding-inline-start: clamp(9px, 2vw, 22px); text-align: left; color: var(--muted); font-size: 13px; line-height: 1.55; }
.en-column p, .split .en-column p, .products .en-column p:not(.eyebrow) { font-size: inherit; line-height: inherit; margin: 0 0 7px; }
.en-column .en-heading { font-size: 16px; font-weight: 700; color: var(--navy); }
.hero { grid-template-columns: 1fr; }
.hero .visual { width: 100%; max-width: 460px; justify-self: center; }
.hero .en-column { color: #dce7f3; border-color: #7188a8; }
.hero .en-column .en-heading { color: white; font-size: clamp(18px, 2.4vw, 30px); }
.company-card { grid-template-columns: 1fr; }
.company-card .fa-column > p { color: var(--muted); line-height: 1.85; margin-block: 10px 0; }
.products > div, .contact > div { flex: 1 1 auto; width: 100%; }
.process-panel article .language-pair { gap: 9px; }
.process-panel article .en-column { padding-inline-start: 8px; font-size: 11px; }
.process-panel article .en-heading { font-size: 12px; }
@media (max-width: 650px) {
  .language-pair { grid-template-columns: 1fr; }
  .en-column { border-inline-start: 0; border-block-start: 1px solid #cdd9e8; padding: 8px 0 0; }
  .hero .en-column { border-color: #7188a8; }
}

/* Justify body copy in each language column, with the last line at its natural start. */
.language-pair .fa-column p:not(.eyebrow),
.language-pair .en-column p:not(.en-heading) {
  text-align: justify;
  text-align-last: start;
}
.language-pair .en-column p:not(.en-heading) {
  hyphens: auto;
  overflow-wrap: break-word;
}