:root {
  --ink: #202924; --muted: #6b756f; --forest: #14221d; --green: #234b39;
  --gold: #c5ac7e; --line: #dde2de; --soft: #f3f5f3; --white: #fff;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: #fff; color: var(--ink); line-height: 1.9; -webkit-font-smoothing: antialiased; }
body[data-lang="fa"] { font-family: "Vazirmatn", sans-serif; }
body[data-lang="en"] { font-family: "Manrope", sans-serif; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { line-height: 1.55; font-weight: 600; text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
p { color: var(--muted); }
::selection { background: #dce7df; color: #163c28; }
:focus-visible { outline: 2px solid #8da994; outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; inset-inline-start: 20px; padding: 12px 20px; z-index: 150; background: white; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 100; color: #fff; background: var(--forest); border-bottom: 1px solid #304138; }
.nav-wrap { min-height: 86px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: #deca9e; border: 1px solid #a38b5e; font: 600 13px "Manrope", sans-serif; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 12px; font-weight: 500; }
.brand-copy small { color: #a4b4aa; font: 8px "Manrope", sans-serif; direction: ltr; }
.main-nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav-link { font-size: 12px; color: #bfcac3; white-space: nowrap; padding: 18px 0; transition: color 150ms; }
.nav-link:hover, .nav-link[aria-current="page"] { color: #e9d3a7; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.lang-switch { border-inline-start: 1px solid #4c5b51; padding-inline-start: 20px; font-size: 11px; white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 48px; border: 1px solid transparent; border-radius: 2px; padding: 12px 23px; font-size: 12px; font-weight: 500; line-height: 1.8; text-align: center; transition: background 150ms, color 150ms; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #32634b; }
.btn-ghost { background: transparent; color: var(--green); border-color: #c0cdc2; }
.btn-ghost:hover { background: #e8eee9; }
.nav-cta { background: #c4ab7d; color: #18241e; min-height: 38px; padding: 8px 15px; font-size: 10px; white-space: nowrap; }
.nav-cta:hover { background: #e1c895; }
.icon { width: 19px; height: 19px; flex-shrink: 0; }
html[dir="rtl"] .direction-icon { transform: scaleX(-1); }
.icon-button { display: grid; place-items: center; padding: 0; width: 40px; height: 40px; background: transparent; color: inherit; border: 1px solid #526558; border-radius: 2px; }
.menu-toggle { display: none; }

/* Media carries the subject; the rest of the page remains quiet. */
.hero { position: relative; isolation: isolate; background: #243229; color: #fff; overflow: hidden; }
.hero-image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgb(10 22 16 / 4%), rgb(10 22 16 / 20%) 35%, rgb(10 22 16 / 82%) 78%, rgb(10 22 16 / 89%)); }
html[dir="ltr"] .hero-overlay { transform: scaleX(-1); }
.hero-layout { min-height: min(660px, calc(100svh - 174px)); display: flex; align-items: center; position: relative; padding-block: 70px 90px; }
.hero-division .hero-layout { min-height: min(590px, calc(100svh - 240px)); }
.hero-copy { max-width: 600px; }
.eyebrow { margin-bottom: 18px; color: #8a7246; font-size: 11px; font-weight: 500; }
.hero .eyebrow { color: #e1c997; }
.hero h1 { font-size: 54px; font-weight: 600; line-height: 1.6; }
.hero h1 span { display: block; }
.hero h1 .hero-name-accent { color: #dbc698; }
.hero-lead { max-width: 440px; margin-top: 17px; font-size: 14px; line-height: 2.15; color: #e5ebe5; }
.hero-action { margin-top: 32px; background: #d0b785; color: #16261b; justify-content: space-between; }
.hero-action:hover { background: #e9d2a4; }
.hero-signature { position: absolute; inset-inline-end: 0; bottom: 28px; color: #e0e6df; font: 9px "Manrope", sans-serif; }
.hero-signitur .hero-image { object-position: 50% 44%; }
.hero-charity .hero-image { object-position: 50% 55%; }
.hero-software .hero-image { object-position: 50% 45%; }

.section { padding-block: 84px; }
.section-heading { margin-bottom: 35px; }
.section-heading h2, .intro-layout h2, .contact-copy h2 { font-size: 31px; font-weight: 500; }
.intro-layout { display: grid; grid-template-columns: .9fr 1.2fr; gap: 100px; }
.intro-statement { font-size: 20px; color: #283c30; line-height: 2; }
.intro-note { margin-top: 18px; font-size: 13px; max-width: 580px; }
.divisions-section { padding-top: 0; }
.division-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.division-item { min-width: 0; display: block; }
.division-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #e3e8e3; }
.division-image { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.division-item:hover .division-image { transform: scale(1.025); }
.division-category { position: absolute; inset-inline-start: 20px; bottom: 18px; color: #fff; background: #14221de6; padding: 4px 10px; font-size: 10px; }
.division-copy { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-top: 21px; }
.division-copy h3 { font-size: 21px; font-weight: 500; }
.division-copy p { font-size: 12px; margin-top: 4px; }
.division-arrow { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid #cbd6ce; border-radius: 50%; color: #355b40; }
.division-item:hover .division-arrow { background: #224832; border-color: #224832; color: #fff; }

.services-layout { display: grid; grid-template-columns: .8fr 1.5fr; gap: 96px; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 40px 1fr; gap: 28px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.service-number, .process-number { font: 11px "Manrope", sans-serif; color: #a28c61; padding-top: 8px; }
.service-row h3 { font-size: 19px; font-weight: 500; }
.service-row p { font-size: 13px; margin-top: 6px; }
.focus-section { padding-block: 54px; background: var(--soft); border-block: 1px solid #e7ece7; }
.focus-layout { display: grid; grid-template-columns: .8fr 1.5fr; gap: 96px; align-items: start; }
.focus-layout h2 { font-size: 25px; font-weight: 500; }
.focus-layout p { font-size: 15px; max-width: 650px; color: #44594c; }
.focus-topics { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 22px; font-size: 11px; color: #687c6c; }
.focus-topics li { border-inline-start: 1px solid #b19b71; padding-inline-start: 12px; }
.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; }
.process-list li { border-top: 1px solid #cbd5cd; padding-top: 22px; }
.process-number { display: block; padding: 0; margin-bottom: 15px; }
.process-list h3 { font-size: 17px; font-weight: 500; }
.process-list p { font-size: 12px; margin-top: 10px; }
.partnership-section { padding-block: 54px; border-top: 1px solid var(--line); }
.partnership-layout { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.partnership-layout h2 { font-size: 29px; font-weight: 500; }
.partnership-layout p { font-size: 13px; margin-top: 8px; }
.partnership-layout .btn { flex-shrink: 0; }

.contact-section { background: #f0f4f1; }
.contact-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact-copy h2 { font-size: 38px; }
.contact-copy > p:not(.eyebrow) { margin-top: 20px; font-size: 13px; }
.contact-details { margin-top: 35px; display: grid; gap: 10px; }
.contact-details a { font-size: 14px; }
.contact-details p { font-size: 12px; }
.contact-details article h3 { font-size: 11px; color: var(--muted); }
[data-contact="email"], [data-contact="phone"] { direction: ltr; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.contact-form label { display: grid; gap: 8px; min-width: 0; font-size: 12px; color: #344e3e; }
.contact-form label:has(select), .contact-form label:has(textarea), .contact-form > .btn, .form-status, .form-note, .contact-draft { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; background: white; color: #253f2e; border: 1px solid #c7d2c9; border-radius: 2px; padding: 11px 13px; font-size: 13px; line-height: 1.8; }
.contact-form input, .contact-form select { min-height: 47px; }
.contact-form textarea { min-height: 125px; resize: vertical; }
.contact-form [aria-invalid="true"] { border-color: #b5574d; }
.contact-form .btn { justify-content: space-between; }
.form-note { font-size: 10px; color: #708174; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; margin-inline-start: 4px; }
.form-status { font-size: 12px; min-height: 0; }
.form-status:empty { display: none; }
.contact-draft { display: flex; gap: 10px; flex-wrap: wrap; }

.site-footer { background: var(--forest); color: #dce5dd; padding-block: 40px 22px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 25px 40px; padding-bottom: 28px; }
.footer-brand { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.footer-wordmark { font: 500 28px "Manrope", sans-serif; color: #d2b989; }
.footer-email { font-size: 12px; color: #becbbf; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; padding-top: 22px; border-top: 1px solid #33473a; }
.footer-bottom nav { display: flex; gap: 20px; font-size: 10px; color: #b9c6bc; }
.footer-bottom p { color: #8eaa97; font-size: 9px; }
.footer-bottom a:hover { color: #e3cc9d; }
.copyright { direction: ltr; }
.document-heading { background: #f0f3f1; padding-block: 58px 62px; border-bottom: 1px solid var(--line); }
.document-heading h1 { font-size: 37px; font-weight: 500; }
.document-layout { display: grid; grid-template-columns: 230px 1fr; gap: 100px; }
.document-toc { position: sticky; top: 126px; align-self: start; display: grid; gap: 16px; border-inline-start: 1px solid #c3d0c5; padding-inline-start: 20px; font-size: 12px; color: #42664b; }
.document-toc a:hover { color: #a0834f; }
.document-article { max-width: 800px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.document-article:last-child { margin-bottom: 0; }
.document-article h2 { font-size: 20px; font-weight: 500; margin-bottom: 14px; }
.document-article p { font-size: 13px; line-height: 2.2; }
.brand-download { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 25px; }
.brand-download img { width: 96px; height: 96px; }
.offline-page { min-height: 100svh; display: grid; place-items: center; }
.offline-content { max-width: 600px; margin-inline: auto; padding-block: 40px; }
.offline-content h1 { font-size: 30px; }
.offline-content p { margin-block: 20px 28px; font-size: 14px; }

@media (min-width: 1600px) {
  .hero-layout { min-height: min(730px, calc(100svh - 185px)); }
  .hero-home h1 { font-size: 62px; }
}
@media (max-width: 1190px) {
  .container { width: calc(100% - 64px); }
  .nav-wrap { gap: 24px; }
  .main-nav { gap: 18px; }
  .brand-copy strong { font-size: 11px; }
  .nav-actions { gap: 16px; }
  .lang-switch { padding-inline-start: 16px; }
  .services-layout, .focus-layout { gap: 60px; }
  .intro-layout, .contact-shell, .document-layout { gap: 60px; }
}
@media (max-width: 1080px) {
  .nav-wrap { min-height: 76px; }
  .nav-actions { margin-inline-start: auto; }
  .main-nav { display: none; position: fixed; inset: 76px 0 0; background: var(--forest); padding: 35px 32px; margin: 0; overflow-y: auto; }
  .menu-open .main-nav { display: flex; flex-direction: column; gap: 0; }
  .main-nav .nav-link { font-size: 20px; padding: 21px 0; border-bottom: 1px solid #3e5144; white-space: normal; }
  .menu-toggle { display: grid; }
  .hero h1 { font-size: 46px; }
  .hero-layout { min-height: min(650px, calc(100svh - 174px)); }
  .services-layout, .focus-layout { grid-template-columns: .7fr 1.4fr; gap: 40px; }
  .section { padding-block: 66px; }
  .divisions-section { padding-top: 0; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  .nav-wrap { min-height: 72px; gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; font-size: 11px; }
  .brand-copy strong { font-size: 9px; max-width: 150px; }
  .brand-copy small { font-size: 6px; }
  .nav-actions { gap: 14px; }
  .lang-switch { border: 0; padding: 0; font-size: 10px; }
  .nav-cta { display: none; }
  .main-nav { top: 72px; padding-inline: 20px; }
  .menu-toggle { width: 36px; height: 36px; }
  .hero-layout { min-height: min(560px, calc(100svh - 148px)); padding-block: 62px 74px; }
  .hero-division .hero-layout { min-height: min(490px, calc(100svh - 210px)); }
  .hero .eyebrow { font-size: 9px; margin-bottom: 15px; }
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 12px; max-width: 310px; margin-top: 14px; }
  .hero-overlay { background: linear-gradient(90deg, rgb(15 28 18 / 42%), rgb(15 28 18 / 82%)); }
  .hero-signature { bottom: 20px; font-size: 8px; }
  .btn { min-height: 46px; padding: 11px 18px; gap: 24px; font-size: 11px; }
  .hero-action { margin-top: 25px; }
  .hero-home .hero-image { object-position: 35% 50%; }
  .hero-trade .hero-image { object-position: 32% 50%; }
  .hero-signitur .hero-image { object-position: 40% 48%; }
  .hero-charity .hero-image { object-position: 47% 50%; }
  .hero-software .hero-image { object-position: 30% 50%; }
  .section { padding-block: 48px; }
  .section-heading { margin-bottom: 28px; }
  .eyebrow { font-size: 10px; margin-bottom: 12px; }
  .section-heading h2, .intro-layout h2 { font-size: 26px; }
  .intro-layout { grid-template-columns: 1fr; gap: 24px; }
  .intro-layout h2 br { display: none; }
  .intro-statement { font-size: 16px; }
  .intro-note { font-size: 12px; margin-top: 12px; }
  .divisions-section { padding-top: 0; }
  .division-grid { grid-template-columns: 1fr; gap: 32px; }
  .division-media { aspect-ratio: 16/10; }
  .division-copy { padding-top: 16px; gap: 16px; }
  .division-copy h3 { font-size: 19px; }
  .division-copy p { font-size: 11px; }
  .division-arrow { width: 36px; height: 36px; }
  .division-category { bottom: 14px; inset-inline-start: 14px; font-size: 9px; }
  .services-layout, .focus-layout { grid-template-columns: 1fr; gap: 0; }
  .service-row { grid-template-columns: 25px 1fr; gap: 16px; padding-block: 22px; }
  .service-row h3 { font-size: 17px; }
  .service-row p { font-size: 12px; }
  .focus-section { padding-block: 34px; }
  .focus-layout h2 { font-size: 23px; margin-bottom: 15px; }
  .focus-layout p { font-size: 13px; }
  .focus-topics { gap: 12px 20px; font-size: 10px; }
  .process-list { grid-template-columns: 1fr; gap: 22px; }
  .process-list li { display: grid; grid-template-columns: 25px 1fr; column-gap: 16px; padding-top: 18px; }
  .process-number { margin-bottom: 0; padding-top: 8px; }
  .process-list h3 { font-size: 17px; }
  .process-list p { grid-column: 2; margin-top: 7px; font-size: 12px; }
  .partnership-section { padding-block: 35px; }
  .partnership-layout { align-items: start; flex-direction: column; gap: 24px; }
  .partnership-layout h2 { font-size: 25px; }
  .partnership-layout p { font-size: 12px; }
  .contact-shell { grid-template-columns: 1fr; gap: 30px; }
  .contact-copy h2 { font-size: 29px; }
  .contact-copy h2 br { display: none; }
  .contact-copy > p:not(.eyebrow) { margin-top: 12px; }
  .contact-details { margin-top: 22px; }
  .contact-form { gap: 16px; }
  .contact-form label { font-size: 11px; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 12px; }
  .site-footer { padding-top: 30px; }
  .footer-main { flex-direction: column; align-items: start; gap: 20px; padding-bottom: 24px; }
  .footer-brand { font-size: 11px; gap: 14px; }
  .footer-wordmark { font-size: 25px; }
  .footer-bottom { gap: 15px; }
  .footer-bottom nav { width: 100%; flex-wrap: wrap; gap: 12px 20px; font-size: 9px; }
  .footer-bottom p { font-size: 8px; }
  .document-heading { padding-block: 35px 40px; }
  .document-heading h1 { font-size: 29px; }
  .document-layout { grid-template-columns: 1fr; gap: 30px; }
  .document-toc { position: static; display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 11px; }
  .document-article h2 { font-size: 18px; }
  .document-article p { font-size: 12px; }
  .offline-content h1 { font-size: 25px; }
}
@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  .brand-copy strong { font-size: 8px; max-width: 135px; }
  .brand-copy small { font-size: 5px; }
  .nav-actions { gap: 10px; }
  .hero h1 { font-size: 29px; }
  .hero-layout, .hero-division .hero-layout { min-height: 420px; padding-block: 45px 64px; }
  .hero-lead { font-size: 11px; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-brand { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
