@font-face {
    font-family: Vazirmatn;
    src: url("/fonts/Vazirmatn-UI-FD-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url("/fonts/Vazirmatn-UI-FD-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url("/fonts/Vazirmatn-UI-FD-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url("/fonts/Vazirmatn-UI-FD-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Vazirmatn;
    src: url("/fonts/Vazirmatn-UI-FD-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #1b2559;
    --ink-soft: #3c4668;
    --muted: #667089;
    --line: #e6e9f2;
    --paper: #f5f7fb;
    --gold: #e2b15a;
    --gold-deep: #c9963c;
    --navy: #24356f;
    --teal: #147e88;
    --shadow: 0 14px 40px rgba(27, 37, 89, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Vazirmatn, Tahoma, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.8;
}
img { max-width: 100%; display: block; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.45; }

.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 86px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 62px; width: auto; }
.brand .mark { display: none; height: 48px; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a, .drop > a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 14.5px;
    padding: 8px 12px;
    border-radius: 999px;
}
.nav a:hover, .nav a.is-active, .drop:hover > a { background: #eef2fb; }
.drop { position: relative; }
.drop-menu {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    inset-inline-start: 0;
    min-width: 230px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(27, 37, 89, 0.14);
    padding: 8px;
    z-index: 20;
}
.drop-menu a { display: block; border-radius: 12px; }
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: block; }
.nav-toggle {
    display: none;
    margin-inline-start: auto;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
    line-height: 1.4;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: #12183d; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid #d5dced; }
.header-cta { flex: none; }
.nav .header-cta { display: none; }

.hero { padding: 22px 0 8px; }
.slider { position: relative; height: 470px; border-radius: 28px; overflow: hidden; background: var(--ink); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 48, .08), rgba(10, 18, 48, .78)); }
.slide-caption { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; color: #fff; padding: 36px 72px 48px; max-width: 820px; }
.slide-caption h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 40px); }
.slide-caption p { margin: 0 0 16px; color: rgba(255,255,255,.92); font-size: 17px; }
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.94); color: var(--ink); font-size: 22px;
}
.slider-btn.prev { inset-inline-start: 16px; }
.slider-btn.next { inset-inline-end: 16px; }
.dots { position: absolute; z-index: 3; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; }
.dots button.is-active { width: 22px; background: var(--gold); }

.section { padding: 58px 0; }
.section-title { margin: 0 0 8px; text-align: center; font-size: clamp(24px, 3vw, 32px); color: var(--ink); }
.section-lead { margin: 0 auto 28px; text-align: center; color: var(--muted); max-width: 640px; }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card {
    background: #fff; border-radius: 24px; padding: 22px 16px 18px; text-align: center;
    box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.card h3 { margin: 4px 0 0; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; min-height: 72px; }
.card .btn { margin-top: auto; }
.icon-blob {
    width: 66px; height: 66px; border-radius: 20px; background: var(--navy); color: #fff;
    display: grid; place-items: center;
}
.icon-blob svg { width: 30px; height: 30px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.step em {
    display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--gold); color: var(--ink); font-style: normal; font-weight: 800;
}
.step h3 { margin: 12px 0 6px; }
.step p { margin: 0; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #fff; border-radius: 22px; padding: 22px 12px; text-align: center; box-shadow: var(--shadow); }
.stat strong { display: block; font-size: 28px; color: var(--teal); }
.stat span { color: var(--ink-soft); }

.logo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.partner {
    background: #fff; border-radius: 18px; min-height: 96px; padding: 14px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    text-decoration: none; box-shadow: var(--shadow); text-align: center; font-weight: 700;
}
.partner img { height: 48px; width: auto; object-fit: contain; }
.monogram {
    width: 42px; height: 42px; border-radius: 12px; background: #eef6f6; color: var(--teal);
    display: grid; place-items: center; font-weight: 800; flex: none;
}

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow); margin: 0; }
.quote p { margin: 0 0 16px; }
.quote footer { color: var(--muted); font-size: 14px; }
.quote strong { color: var(--ink); display: block; }

.band {
    background: linear-gradient(135deg, #1b2559, #1c7384);
    color: #fff; border-radius: 28px; padding: 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.band h2 { margin: 0 0 6px; }
.band p { margin: 0; color: rgba(255,255,255,.88); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; }
.post-card .thumb { height: 170px; background: linear-gradient(145deg, #1b2559, #147e88); display: grid; place-items: center; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .thumb .mark { height: 72px; }
.post-card .body { padding: 16px 16px 18px; }
.post-card time { color: var(--teal); font-size: 13px; font-weight: 700; }
.post-card h3 { margin: 6px 0; font-size: 18px; }
.post-card p { margin: 0; color: var(--muted); font-size: 14px; }

.site-footer { background: #17224f; color: #d5dced; margin-top: 20px; padding: 46px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.1fr; gap: 24px; }
.site-footer h3 { margin: 0 0 10px; color: #fff; font-size: 16px; }
.site-footer a { color: #d5dced; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.footer-brand { height: 54px; width: auto; margin-bottom: 10px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 4px 10px; }
.copy { margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); color: #aeb6d0; font-size: 13px; }

.page-head { padding: 34px 0 8px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); }
.page-head p { margin: 0; color: var(--muted); max-width: 680px; }
.prose { background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.prose p { margin: 0 0 14px; color: #2a3354; }
.layout-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
.panel { background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.panel h2 { margin-top: 0; }
.info-list { display: grid; gap: 12px; }
.info-list div { background: #f7f8fc; border-radius: 16px; padding: 12px 14px; }
.info-list span { display: block; color: var(--muted); font-size: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field span { font-weight: 700; font-size: 14px; }
.field input, .field textarea, .field select {
    border: 1px solid #d9deea; border-radius: 14px; padding: 12px 14px; background: #fff; font-size: 15px; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--gold); border-color: transparent; }
.alert { background: #e8f7f2; color: #0d6b57; border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.alert-error { background: #fdecec; color: #9b2430; }
.alert-error ul { margin: 0; padding-inline-start: 18px; }
.hp { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }
.faq details { background: #fff; border-radius: 16px; padding: 12px 16px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 8px 0 4px; color: var(--ink-soft); }
.pager { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 22px; }
.pager a { text-decoration: none; background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.related { display: flex; flex-wrap: wrap; gap: 8px; }
.related a { text-decoration: none; background: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 700; box-shadow: var(--shadow); }

@media (max-width: 1100px) {
    .cards { grid-template-columns: repeat(3, 1fr); }
    .footer-grid, .logo-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .header-inner > .header-cta { display: none; }
    .nav .header-cta { display: inline-flex; margin-top: 8px; }
    .logo-full { display: none; }
    .logo-mark { display: block; height: 48px; }
    .nav {
        display: none; position: absolute; top: 100%; inset-inline: 0; background: #fff;
        flex-direction: column; align-items: stretch; padding: 10px 14px 16px;
        border-bottom: 1px solid var(--line);
    }
    .nav.is-open { display: flex; }
    .drop-menu { position: static; box-shadow: none; display: block; padding-inline-start: 8px; }
    .slider { height: 360px; }
    .slide-caption { padding: 24px 20px 42px; }
    .cards, .steps, .stats, .quotes, .post-grid, .layout-2 { grid-template-columns: 1fr; }
    .band { flex-direction: column; align-items: flex-start; }
    .brand .full { display: none; }
    .brand .mark { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    .slide { transition: none; }
}
.logo-mark { display: none; }
.quote-slider .quote { display: none; max-width: 820px; margin-inline: auto; }
.quote-slider .quote.is-active { display: block; }
.quote-nav { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 24px; }
.foot-brand { height: 46px; width: auto; background: #fff; border-radius: 12px; padding: 4px; }
.legal { margin-top: 26px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
.form-card, .info-card { background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.nav a.active { background: #eef2fb; }
.mark { width: 42px; height: 42px; border-radius: 12px; background: #eef6f6; color: var(--teal); display: grid; place-items: center; font-weight: 800; flex: none; }
.meta { color: var(--teal); font-size: 13px; font-weight: 700; }
.post-card > div { padding: 16px 16px 18px; }
@media (max-width: 900px) {
    .foot-grid, .split, .logo-row { grid-template-columns: 1fr; }
    .legal { flex-direction: column; }
    .logo-full { display: none; }
    .logo-mark { display: block; height: 48px; }
}
