:root {
    --ink: #102235;
    --ink-2: #1b3146;
    --navy: #0b1f33;
    --navy-soft: #14324d;
    --gold: #b98a38;
    --gold-soft: #d6b06d;
    --cream: #f6f1e8;
    --paper: #fcfbf8;
    --white: #ffffff;
    --muted: #6b7784;
    --line: #e5e1d9;
    --shadow: 0 22px 60px rgba(16, 34, 53, .10);
    --radius-xl: 36px;
    --radius-lg: 26px;
    --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: IRANSansX, IRANSans, Tahoma, Arial, sans-serif;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(252, 251, 248, .92);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
    border-color: rgba(16, 34, 53, .08);
    box-shadow: 0 10px 35px rgba(16, 34, 53, .05);
}
.header-row { min-height: 84px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 152px; }
.brand-symbol {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #fff;
    border: 1px solid rgba(16, 34, 53, .08);
    overflow: hidden;
}
.brand-symbol img { width: 42px; height: 42px; object-fit: contain; object-position: center 42%; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { color: var(--navy); font-size: 19px; letter-spacing: -.6px; }
.brand-copy small { margin-top: 5px; color: #9b7a3b; font-size: 9px; letter-spacing: 1.8px; }
.desktop-nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 28px; }
.desktop-nav a { color: #536273; font-size: 12px; font-weight: 650; transition: color .18s ease; }
.desktop-nav a:hover { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-login { color: #687585; font-size: 11px; font-weight: 650; }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.menu-button span { display: block; height: 2px; margin: 5px 0; border-radius: 4px; background: var(--navy); }
.mobile-panel { display: none; }

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 44px; padding-inline: 18px; border-radius: 14px; }
.button-dark { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(11, 31, 51, .15); }
.button-gold { background: var(--gold); color: #fff; box-shadow: 0 15px 32px rgba(185, 138, 56, .20); }
.button-gold:hover { background: #a87a2f; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #506071; font-size: 12px; font-weight: 700; }
.text-link.strong { color: var(--navy); }

.hero { padding: 54px 0 72px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); gap: 76px; align-items: center; }
.hero-copy { padding-block: 24px; }
.official-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 12px 7px 16px;
    margin-bottom: 34px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(16, 34, 53, .04);
}
.official-pill img { width: 42px; height: 42px; object-fit: cover; border-radius: 11px; }
.official-pill span { display: grid; line-height: 1.4; }
.official-pill small { color: #9a773a; font-size: 9px; font-weight: 700; }
.official-pill strong { color: var(--ink); font-size: 11px; }
.eyebrow { margin: 0 0 10px; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: -.1px; }
.eyebrow.light { color: #d7b774; }
.hero h1 {
    max-width: 700px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(42px, 5.2vw, 72px);
    line-height: 1.28;
    letter-spacing: -3.3px;
    font-weight: 900;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-lead { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 2.25; }
.hero-actions-row { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-proof > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.proof-dot { width: 9px; height: 9px; flex: 0 0 9px; border: 2px solid var(--gold); border-radius: 50%; }
.hero-proof p { display: grid; margin: 0; line-height: 1.5; }
.hero-proof strong { font-size: 10px; color: var(--ink); white-space: nowrap; }
.hero-proof small { margin-top: 4px; color: #84909b; font-size: 8.5px; white-space: nowrap; }

.hero-media { position: relative; min-width: 0; }
.hero-image-frame {
    padding: 10px;
    background: #fff;
    border: 1px solid #e4ded3;
    border-radius: 40px;
    box-shadow: var(--shadow);
}
.hero-image-frame img { width: 100%; height: 610px; object-fit: cover; border-radius: 31px; }
.hero-note {
    position: absolute;
    left: 18px;
    bottom: 42px;
    width: min(275px, 75%);
    padding: 18px 20px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(16, 34, 53, .15);
    backdrop-filter: blur(12px);
}
.hero-note span { display: block; color: var(--gold); font-size: 9px; font-weight: 800; }
.hero-note strong { display: block; margin-top: 3px; color: var(--navy); font-size: 13px; }

.trust-strip { background: var(--navy); color: #fff; }
.trust-grid { min-height: 112px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.trust-grid > div { padding: 0 34px; border-left: 1px solid rgba(255,255,255,.12); }
.trust-grid > div:last-child { border-left: 0; }
.trust-grid strong { display: block; font-size: 12px; }
.trust-grid span { display: block; margin-top: 4px; color: #aebdca; font-size: 9px; }

.section { padding: 110px 0; }
.section-cream { background: var(--cream); }
.section-head { margin-bottom: 46px; }
.section-head.compact { max-width: 760px; }
.section-head h2, .documents-copy h2, .why-copy h2, .process-heading h2, .cta-box h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(30px, 3.7vw, 48px);
    line-height: 1.45;
    letter-spacing: -1.6px;
}
.section-lead { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 2.15; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: #d8c8a9; box-shadow: var(--shadow); }
.service-card-featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.line-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: var(--cream); color: var(--gold); }
.line-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card-featured .line-icon { background: rgba(255,255,255,.08); }
.service-index { margin-top: 38px; color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.service-card h3 { margin: 8px 0 10px; color: var(--navy); font-size: 20px; letter-spacing: -.5px; }
.service-card-featured h3 { color: #fff; }
.service-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 2.05; }
.service-card-featured p { color: #b9c6d2; }

.documents-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 76px; align-items: center; }
.documents-media { position: relative; padding: 9px; background: rgba(255,255,255,.65); border: 1px solid rgba(16,34,53,.08); border-radius: 34px; }
.documents-media img { width: 100%; aspect-ratio: 1.42 / 1; object-fit: cover; border-radius: 26px; }
.media-caption {
    position: absolute;
    right: 28px;
    bottom: 28px;
    padding: 14px 18px;
    background: rgba(11,31,51,.92);
    color: #fff;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}
.media-caption span { display: block; color: #d7b774; font-size: 8px; }
.media-caption strong { display: block; margin-top: 3px; font-size: 11px; }
.documents-copy { max-width: 600px; }
.document-list { margin-top: 34px; border-top: 1px solid rgba(16,34,53,.14); }
.document-row { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; min-height: 84px; border-bottom: 1px solid rgba(16,34,53,.14); }
.document-row > span { color: var(--gold); font-size: 10px; font-weight: 900; }
.document-row div { display: grid; }
.document-row strong { color: var(--ink); font-size: 12px; }
.document-row small { margin-top: 4px; color: #747f89; font-size: 9px; }

.process-section { background: var(--navy); color: #fff; }
.process-heading { max-width: 720px; margin-bottom: 44px; }
.process-heading h2 { color: #fff; }
.process-heading > p:last-child { max-width: 560px; margin: 15px 0 0; color: #aebdca; font-size: 11px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.process-card { min-height: 230px; padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.035); }
.process-card > span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; color: #e1c58e; border: 1px solid rgba(225,197,142,.35); border-radius: 50%; font-size: 9px; font-weight: 900; }
.process-card h3 { margin: 38px 0 8px; font-size: 15px; }
.process-card p { margin: 0; color: #aebdca; font-size: 10px; line-height: 2; }

.why-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.why-copy { max-width: 510px; }
.why-copy .text-link { margin-top: 24px; }
.why-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat-card { min-height: 175px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.stat-card strong { color: var(--navy); font-size: 40px; line-height: 1; font-weight: 900; }
.stat-card span { max-width: 190px; color: var(--muted); font-size: 10px; line-height: 1.9; }
.stat-card.accent { background: #efe3cc; border-color: #e2d1b0; }
.stat-card.accent strong { color: #9c732e; }

.cta-section { padding: 0 0 90px; }
.cta-box { min-height: 280px; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; padding: 52px 58px; background: var(--navy); color: #fff; border-radius: 34px; }
.cta-box h2 { color: #fff; font-size: clamp(28px, 3.3vw, 42px); }
.cta-box > div:first-child > p:last-child { max-width: 640px; margin: 14px 0 0; color: #aebdca; font-size: 11px; }
.cta-contacts { display: grid; gap: 10px; min-width: 230px; }
.cta-contacts a { display: grid; padding: 13px 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; }
.cta-contacts small { color: #aebdca; font-size: 8px; }
.cta-contacts strong { margin-top: 3px; color: #fff; font-size: 14px; letter-spacing: .5px; text-align: right; }

.site-footer { background: #081828; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .65fr .9fr 1.1fr; gap: 50px; padding: 64px 0 48px; }
.brand-light .brand-copy strong { color: #fff; }
.footer-brand > p { max-width: 330px; margin: 20px 0 0; color: #8fa1b2; font-size: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links > strong { margin-bottom: 7px; color: #fff; font-size: 11px; }
.footer-links a, .footer-links span { color: #91a2b1; font-size: 9px; }
.footer-links a:hover { color: #fff; }
.footer-official { display: flex; align-items: center; gap: 14px; padding: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; }
.footer-official img { width: 58px; height: 58px; object-fit: cover; border-radius: 15px; }
.footer-official div { display: grid; }
.footer-official small { color: #d7b774; font-size: 8px; }
.footer-official strong { margin-top: 3px; font-size: 10px; }
.footer-official span { margin-top: 3px; color: #8fa1b2; font-size: 8px; }
.footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); color: #72879a; font-size: 9px; }
.footer-bottom strong { color: #c9a662; letter-spacing: 1px; }

@media (max-width: 1100px) {
    .desktop-nav { gap: 18px; }
    .desktop-nav a { font-size: 10px; }
    .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); gap: 46px; }
    .hero-image-frame img { height: 540px; }
    .hero-proof { grid-template-columns: 1fr; gap: 10px; }
    .hero-proof small { display: none; }
    .documents-layout { gap: 44px; }
    .footer-grid { grid-template-columns: 1.2fr .7fr .9fr; }
    .footer-official { grid-column: 1 / -1; max-width: 360px; }
}

@media (max-width: 820px) {
    .shell { width: min(100% - 32px, 720px); }
    .desktop-nav, .header-login, .header-actions .button { display: none; }
    .header-row { min-height: 74px; justify-content: space-between; }
    .menu-button { display: block; margin-right: auto; }
    .mobile-panel { padding: 8px 16px 18px; background: var(--paper); border-top: 1px solid var(--line); }
    .mobile-panel.is-open { display: grid; }
    .mobile-panel a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 11px; }
    .hero { padding-top: 32px; }
    .hero-layout { grid-template-columns: 1fr; gap: 38px; }
    .hero-copy { padding-block: 8px; }
    .hero h1 { max-width: 670px; font-size: clamp(40px, 9vw, 60px); }
    .hero-lead { max-width: 670px; }
    .hero-proof { grid-template-columns: repeat(3, 1fr); }
    .hero-proof small { display: block; }
    .hero-media { max-width: 560px; margin-inline: auto; }
    .hero-image-frame img { height: 590px; }
    .hero-note { left: 18px; }
    .trust-grid { grid-template-columns: 1fr; padding-block: 18px; }
    .trust-grid > div { padding: 15px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
    .trust-grid > div:last-child { border-bottom: 0; }
    .section { padding: 80px 0; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 250px; }
    .documents-layout { grid-template-columns: 1fr; }
    .documents-media { order: 2; }
    .documents-copy { max-width: none; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .why-layout { grid-template-columns: 1fr; gap: 45px; }
    .why-copy { max-width: 650px; }
    .cta-box { grid-template-columns: 1fr; gap: 28px; padding: 42px 36px; }
    .cta-contacts { grid-template-columns: repeat(2, 1fr); min-width: 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-official { grid-column: auto; }
}

@media (max-width: 560px) {
    .shell { width: calc(100% - 24px); }
    .brand-symbol { width: 40px; height: 40px; border-radius: 13px; }
    .brand-symbol img { width: 36px; height: 36px; }
    .brand-copy strong { font-size: 17px; }
    .official-pill { margin-bottom: 26px; }
    .official-pill img { width: 38px; height: 38px; }
    .hero { padding-bottom: 52px; }
    .hero h1 { font-size: clamp(36px, 11.4vw, 50px); line-height: 1.32; letter-spacing: -2.1px; }
    .hero-lead { font-size: 12px; }
    .hero-actions-row { align-items: stretch; flex-direction: column; gap: 16px; }
    .hero-actions-row .button { width: 100%; }
    .hero-proof { grid-template-columns: 1fr; }
    .hero-proof small { display: block; }
    .hero-image-frame { padding: 7px; border-radius: 29px; }
    .hero-image-frame img { height: 470px; border-radius: 23px; }
    .hero-note { position: static; width: 100%; margin-top: 12px; border: 1px solid var(--line); box-shadow: none; }
    .section { padding: 66px 0; }
    .section-head h2, .documents-copy h2, .why-copy h2, .process-heading h2, .cta-box h2 { font-size: 31px; letter-spacing: -1.1px; }
    .service-card { padding: 27px; }
    .documents-media { border-radius: 26px; }
    .documents-media img { border-radius: 20px; }
    .media-caption { right: 20px; bottom: 20px; }
    .document-row { grid-template-columns: 36px 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .process-card { min-height: 190px; }
    .why-stats { grid-template-columns: 1fr; }
    .stat-card { min-height: 145px; }
    .cta-section { padding-bottom: 58px; }
    .cta-box { padding: 34px 24px; border-radius: 26px; }
    .cta-contacts { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
    .footer-official { max-width: none; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
}
