/* سامانه مدارس همیار — صفحه معرفی؛ رنگ‌ها، اندازه‌ها و شعاع‌ها مطابق فایل طرح «Design scope setup» */

@font-face { font-family: "Vazirmatn"; font-weight: 100 900; font-display: swap; src: url("../fonts/vazirmatn-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; font-weight: 100 900; font-display: swap; src: url("../fonts/vazirmatn-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Vazirmatn"; font-weight: 100 900; font-display: swap; src: url("../fonts/vazirmatn-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }

:root {
    --p: #0070FF; --p-hover: #0062E0; --pb: #EDF4FF; --p-light: #9CC4FF;
    --ink: #1C274C; --sub: #64748B; --mut: #94A3B8; --txt: #475569;
    --bd: #DCE9FC; --bd-soft: #EEF3FA; --bg: #F7FAFF;

    /* نام‌های صفحه معرفی */
    --blue: var(--p); --blue-hover: var(--p-hover); --blue-light: #2684FC; --blue-deep: #0057CC;
    --blue-soft: #EAF3FF; --blue-tint: var(--pb); --blue-line: #D6E7FC; --navy: #0B2447;
    --page: #F4F7FB; --page-2: var(--bg); --line: #E7ECF3; --t1: var(--txt); --t2: var(--sub); --t3: var(--mut);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); font-family: Vazirmatn, sans-serif; color: var(--ink); direction: rtl; font-size: 13.5px; line-height: 1.7; }
a { color: var(--p); text-decoration: none; }
a:hover { color: #2684FC; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--p); outline-offset: 2px; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: var(--bd); border-radius: 9px; }
svg { flex: none; }
.ltr { direction: ltr; unicode-bidi: isolate; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border: 0; border-radius: 13px; background: var(--p); color: #fff; font-size: 13.5px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--p-hover); color: #fff; }

/* ---------- صفحه معرفی ---------- */
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { display: flex; align-items: center; justify-content: center; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-outline { background: #fff; border: 1px solid var(--blue-line); color: var(--ink); font-weight: 700; }
.btn-outline:hover { background: var(--blue-tint); color: var(--ink); }
.lp .btn { border-radius: 14px; }
.lp .tags { display: flex; flex-wrap: wrap; gap: 8px; }

.lp { background: #fff; min-height: 100vh; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 28px); }
.sec { padding-block: clamp(40px, 6vw, 72px); }
.sec.tint { background: var(--page-2); border-block: 1px solid var(--line); }
.lp-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 40; }
.lp-header .wrap { padding-block: 12px; display: flex; align-items: center; gap: 14px; }
.lp-header .logo-mark { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; background: var(--blue); font-size: 17px; }
.lp-header .logo b { font-size: 15px; font-weight: 800; white-space: nowrap; }
.lp-nav { display: flex; margin: 0 auto; background: var(--page); border-radius: 14px; padding: 5px; gap: 2px; }
.lp-nav a { display: flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 11px; font-size: 12.5px; font-weight: 700; color: var(--t1); white-space: nowrap; }
.lp-nav a:hover { background: #fff; color: var(--blue-deep); }
.lp-header .btn { height: 42px; padding: 0 18px; border-radius: 13px; }
.lp-header .btn:hover, .lp .btn-hero:hover { background: var(--blue-light); }
.lp-hero { position: relative; background: var(--page-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.lp-hero::before { content: ""; position: absolute; inset: 0; background: url("../assets/hero-classroom.png") center / cover; opacity: .16; filter: saturate(.85); }
.lp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247, 250, 255, .55) 0%, rgba(247, 250, 255, .85) 65%, #F7FAFF 100%); }
.lp-hero .wrap { position: relative; z-index: 1; padding-block: clamp(44px, 7vw, 88px); }
.lp-hero .inner { max-width: 680px; margin: 0 auto; text-align: center; }
.lp-hero h1 { font-size: clamp(27px, 4vw, 42px); font-weight: 800; line-height: 1.6; text-wrap: pretty; }
.lp-hero h1 span { background: var(--blue-soft); color: var(--blue-deep); border-radius: 10px; padding: 2px 10px; transition: opacity .3s; }
.lp-hero p { margin-top: 18px; font-size: clamp(13.5px, 1.5vw, 15.5px); line-height: 2.2; color: var(--t1); text-wrap: pretty; }
.lp-hero .btn-row { margin-top: 26px; justify-content: center; }
.btn-hero { height: 52px; padding: 0 24px; font-size: 14px; }
.btn-hero.btn-outline { padding: 0 20px; }
.eyebrow { font-size: 11.5px; font-weight: 800; color: var(--t3); }
.lp h2 { margin-top: 10px; font-size: clamp(19px, 2.4vw, 25px); font-weight: 800; line-height: 1.7; }
.lp .sec-lead { margin-top: 12px; font-size: 13.5px; line-height: 2.2; color: var(--t1); max-width: 640px; text-wrap: pretty; }
.center { text-align: center; } .center .sec-lead { margin-inline: auto; max-width: 600px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 44px); align-items: center; }
.cover { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: url("../assets/about-video-cover.png") center / cover; }
.pills { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.pills span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 700; color: var(--t1); white-space: nowrap; }
.modules { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.module { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.module-head { display: flex; align-items: flex-start; gap: 12px; }
.num { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.module-head b { display: block; font-size: 14px; font-weight: 800; line-height: 1.7; }
.module-head small { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; color: var(--t3); }
.module .tags { margin-top: 14px; }
.module .tags span { background: var(--page); border-radius: 9px; padding: 7px 11px; font-size: 11.5px; font-weight: 700; color: var(--t1); white-space: nowrap; }
.map-stats { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.map-stats div { border: 1px solid var(--line); border-radius: 16px; padding: 16px 14px; }
.map-stats b { display: block; font-size: clamp(17px, 2vw, 21px); font-weight: 800; line-height: 1.4; color: var(--blue-deep); }
.map-stats span { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 700; color: var(--t3); line-height: 1.8; }
.map-box { margin-top: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--page-2); overflow: hidden; height: clamp(320px, 42vw, 520px); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.dark { background: var(--navy); color: #fff; }
.dark h2 { margin-top: 0; }
.dark p { margin-top: 14px; font-size: 13.5px; line-height: 2.2; opacity: .85; text-wrap: pretty; }
.dark .btn-row { margin-top: 22px; }
.dark .btn { height: 48px; background: #fff; color: var(--navy); font-size: 13.5px; }
.dark .btn:hover { background: var(--blue-tint); color: var(--navy); }
.dark .btn.ghost { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); color: #fff; font-weight: 700; }
.dark .btn.ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.preview { width: 100%; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .8); }
.preview img { width: 100%; height: auto; display: block; }
.school-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.school-chip { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; text-align: right; }
.school-chip i { font-style: normal; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: var(--page); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.school-chip b { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.7; }
.school-chip small { display: block; margin-top: 3px; font-size: 10.5px; font-weight: 600; color: var(--t3); }
.steps3 { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.step .num { width: 34px; height: 34px; flex-basis: 34px; font-size: 13px; }
.step h3 { margin-top: 14px; font-size: 14.5px; font-weight: 800; line-height: 1.7; }
.step p { margin-top: 9px; font-size: 12.5px; line-height: 2.05; color: var(--t2); text-wrap: pretty; }
.faq { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq summary { display: flex; align-items: center; gap: 12px; background: #fff; padding: 16px 18px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 800; line-height: 1.8; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: #FAFBFE; }
.faq summary span { flex: 1; }
.faq summary::after { content: "+"; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 9px; background: var(--blue-soft); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; font-size: 12.5px; line-height: 2.1; color: var(--t2); text-wrap: pretty; }
.closing { border: 1px solid var(--blue-line); background: var(--page-2); border-radius: 22px; padding: clamp(24px, 3.4vw, 34px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: clamp(48px, 7vw, 84px); }
.closing > div { flex: 1 1 320px; min-width: min(100%, 280px); }
.closing h2 { margin-top: 0; font-size: clamp(18px, 2.2vw, 22px); }
.closing p { margin-top: 10px; font-size: 13px; line-height: 2.05; color: var(--t1); text-wrap: pretty; }
.closing .btn { height: 52px; padding: 0 26px; font-size: 14px; }
.lp-footer { border-top: 1px solid var(--line); background: var(--page-2); }
.lp-footer .wrap { padding-block: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.lp-footer span { font-size: 12px; font-weight: 600; color: var(--t3); }
.lp-footer nav { margin-inline-start: auto; display: flex; flex-wrap: wrap; gap: 16px; }
.lp-footer a { font-size: 12.5px; font-weight: 700; }

@media (max-width: 939px) { .lp-nav { display: none; } .lp-header .btn { margin-inline-start: auto; } }
@media (max-width: 899px) { .modules, .steps3 { grid-template-columns: 1fr; } .school-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 859px) { .two { grid-template-columns: 1fr; } }
@media (max-width: 779px) { .map-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .school-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
