/* Vazirmatn served from this host (EduFlow's copy) — Google Fonts is unreliable from Iran. */
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/vazirmatn-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --forest: #17483b;
  --forest-deep: #10392f;
  --forest-soft: #dce7df;
  --ink: #1e2c27;
  --muted: #69746d;
  --paper: #f6f3ea;
  --paper-strong: #fffdf7;
  --sand: #ece5d5;
  --line: #d8d9cd;
  --gold: #c9a96e;
  --terracotta: #b9694f;
  --white: #ffffff;
  --shell: 1220px;
  --gutter: clamp(22px, 5vw, 76px);
  --font: "Vazirmatn", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; height: auto; }
svg { display: block; }
.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
em { color: var(--forest); font-style: normal; }

.sample-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 5px var(--gutter);
  background: var(--forest-deep);
  color: #f7f5ed;
  font-size: 11px;
  letter-spacing: .015em;
}
.sample-strip p { margin: 0; }
.sample-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--gold); }
.sample-strip-mark { margin-inline-start: 10px; padding-inline-start: 12px; border-inline-start: 1px solid #577167; color: #d9c393; white-space: nowrap; }

.site-header { position: relative; z-index: 2; background: rgba(246, 243, 234, .96); border-bottom: 1px solid rgba(23, 72, 59, .1); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--forest); flex: 0 0 auto; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.45; }
.brand-copy strong { font-size: 16px; font-weight: 800; letter-spacing: -.025em; }
.brand-copy small { margin-top: 3px; color: #768078; font-size: 10px; font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 35px); color: #546159; font-size: 12px; font-weight: 600; white-space: nowrap; }
.main-nav span { transition: color .2s ease; }
.main-nav span:hover { color: var(--forest); }
.header-cta { min-height: 42px; padding: 0 16px; display: inline-flex; gap: 13px; align-items: center; justify-content: center; border: 1px solid var(--forest); border-radius: 4px; color: var(--forest); font-size: 12px; font-weight: 700; white-space: nowrap; }
.header-cta svg { width: 16px; height: 16px; }

.hero-section { position: relative; overflow: hidden; padding: 46px 0 58px; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(46px, 7vw, 104px); }
.hero-copy { padding-block: 34px 16px; }
.eyebrow, .section-number { display: flex; align-items: center; gap: 10px; color: var(--forest); font-size: 11px; font-weight: 700; letter-spacing: .035em; }
.eyebrow { margin: 0 0 22px; }
.eyebrow-line { width: 25px; height: 1px; background: var(--gold); }
.hero-copy h1 { max-width: 570px; margin: 0; color: var(--ink); font-size: clamp(40px, 5.2vw, 68px); font-weight: 800; line-height: 1.38; letter-spacing: -.055em; }
.hero-copy h1 span { color: var(--forest); position: relative; white-space: nowrap; }
.hero-copy h1 span::after { content: ""; position: absolute; inset-inline: 2px; bottom: 2px; z-index: -1; height: 12px; background: rgba(201, 169, 110, .42); }
.hero-lead { max-width: 470px; margin: 23px 0 0; color: #626f67; font-size: 15px; line-height: 2.25; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 18px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.button-primary { background: var(--forest); color: var(--white); }
.button-primary > span { font-size: 19px; font-weight: 400; line-height: 1; }
.button-quiet { padding-inline: 8px; color: #647067; }
.play-mark { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #bfc8bd; border-radius: 50%; color: var(--forest); font-size: 8px; }
.hero-values { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 40px; color: #727d75; font-size: 10px; }
.hero-values span { display: inline-flex; gap: 7px; align-items: center; }
.hero-values i { color: var(--gold); font-size: 10px; font-style: normal; font-weight: 700; }
.hero-visual { position: relative; margin: 0; min-width: 0; }
.hero-image-frame { position: relative; overflow: hidden; min-height: 380px; aspect-ratio: 1.12 / 1; background: #ced8cf; border-radius: 42% 4px 4px 4px; }
.hero-image-frame::before { content: ""; position: absolute; z-index: 1; top: 14px; right: 14px; left: 14px; bottom: 14px; border: 1px solid rgba(255,255,255,.38); pointer-events: none; }
.hero-image-frame img { height: 100%; min-height: 380px; object-fit: cover; object-position: center; }
.image-shade { position: absolute; inset: 44% 0 0; background: linear-gradient(180deg, transparent, rgba(10, 34, 27, .69)); }
.hero-image-caption { position: absolute; right: 31px; bottom: 27px; z-index: 1; display: flex; align-items: center; gap: 11px; color: var(--white); }
.caption-symbol { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #e7c98f; font-size: 18px; }
.hero-image-caption strong, .hero-image-caption small { display: block; }
.hero-image-caption strong { font-size: 12px; }
.hero-image-caption small { color: rgba(255,255,255,.75); font-size: 10px; }
.hero-side-note { position: absolute; top: 45px; left: -30px; display: flex; flex-direction: column; align-items: center; gap: 9px; color: #647067; font-size: 9px; writing-mode: vertical-rl; }
.hero-side-note i { width: 1px; height: 15px; background: var(--gold); }
.hero-seal { position: absolute; left: -37px; bottom: 58px; width: 96px; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--gold); border-radius: 50%; background: var(--paper); color: var(--forest); text-align: center; transform: rotate(-9deg); }
.hero-seal::before { content: ""; position: absolute; inset: 5px; border: 1px dashed rgba(201,169,110,.75); border-radius: 50%; }
.hero-seal span, .hero-seal small { font-size: 8px; }
.hero-seal strong { font-size: 12px; line-height: 1.5; }
.hero-bottom-rule { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin: 54px auto 0; display: flex; align-items: center; gap: 8px; }
.hero-bottom-rule span:first-child { width: 54px; height: 2px; background: var(--forest); }
.hero-bottom-rule span:nth-child(2) { width: 18px; height: 2px; background: var(--gold); }
.hero-bottom-rule span:last-child { flex: 1; height: 1px; background: #dbded3; }

.section-pad { padding-block: clamp(76px, 9vw, 132px); }
.intro-section { background: #fffdf7; }
.intro-grid { display: grid; grid-template-columns: .6fr 1.5fr .62fr; align-items: start; gap: clamp(32px, 6vw, 90px); }
.section-label { padding-top: 12px; }
.section-label .section-number { font-size: 10px; }
.label-stem { width: 1px; height: 74px; display: block; margin: 27px 5px 14px 0; background: var(--gold); }
.section-label p { margin: 0; color: #78837b; font-size: 11px; line-height: 1.9; }
.intro-main h2, .section-heading-row h2, .learning-copy h2, .facilities-copy h2, .life-heading h2, .contact-copy h2 { margin: 13px 0 0; font-size: clamp(30px, 3.5vw, 44px); font-weight: 800; line-height: 1.65; letter-spacing: -.04em; }
.intro-main h2 em, .section-heading-row h2 em, .learning-copy h2 em, .facilities-copy h2 em, .life-heading h2 em, .contact-copy h2 em { color: var(--forest); }
.intro-text { max-width: 590px; margin: 20px 0 0; color: #606d65; font-size: 14px; line-height: 2.3; }
.intro-signoff { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: #7a8179; font-size: 10px; }
.signoff-line { width: 31px; height: 1px; background: var(--gold); }
.signoff-stamp { width: 65px; height: 65px; margin-inline-start: 20px; display: grid; place-items: center; border: 1px solid #d9c8a4; border-radius: 50%; color: var(--forest); font-size: 9px; font-weight: 700; line-height: 1.5; text-align: center; transform: rotate(-10deg); }
.intro-aside { position: relative; margin-top: 42px; padding: 20px 22px 26px; border-inline-start: 1px solid #e2ddcc; }
.aside-quote { display: block; height: 28px; color: var(--gold); font-family: Georgia, serif; font-size: 43px; line-height: 1; }
.intro-aside p { margin: 7px 0 0; color: #637168; font-size: 12px; line-height: 2.15; }
.aside-ornament { display: block; margin-top: 20px; color: var(--gold); font-size: 18px; }

.stats-section { position: relative; overflow: hidden; padding-block: 64px 69px; background: var(--forest); color: var(--white); }
.stats-wrap { position: relative; z-index: 1; }
.stats-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 35px; border-bottom: 1px solid rgba(255,255,255,.2); }
.section-number-light { color: #d8c28f; }
.stats-heading h2 { margin: 12px 0 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.5; }
.stats-heading h2 em { color: #e2c78e; }
.stats-heading > p { margin: 0 0 4px; color: rgba(255,255,255,.63); font-size: 10px; }
.stats-list { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 31px; }
.stat-item { min-height: 133px; padding: 0 28px; border-inline-start: 1px solid rgba(255,255,255,.17); }
.stat-item:first-child { padding-inline-start: 0; }
.stat-item:last-child { border-inline-start: 0; }
.stat-item > strong { color: #f0dfb5; font-size: 38px; font-weight: 600; line-height: 1.35; }
.stat-item > strong span { margin-inline-start: 3px; font-size: 21px; }
.stat-item p { margin: 3px 0 0; color: #f8f7f0; font-size: 11px; font-weight: 600; }
.stat-item small { color: rgba(255,255,255,.57); font-size: 9px; }
.stat-motto { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.motto-star { margin-bottom: 4px; color: #e2c78e; font-size: 17px; }
.stat-motto p { color: rgba(255,255,255,.58); }
.stat-motto > strong { color: #f0dfb5; font-size: 18px; font-weight: 700; }
.stats-pattern { position: absolute; left: -52px; bottom: -94px; width: 250px; height: 250px; border: 1px solid rgba(230,213,171,.12); border-radius: 50%; }
.stats-pattern::before, .stats-pattern::after { content: ""; position: absolute; inset: 19px; border: 1px solid rgba(230,213,171,.1); border-radius: 50%; }
.stats-pattern::after { inset: 39px; }

.program-section { background: var(--paper); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-heading-row h2 { margin-top: 10px; }
.section-heading-row > p { max-width: 365px; margin: 0 0 8px; color: #6b776f; font-size: 11px; line-height: 2.2; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.program-card { position: relative; min-height: 308px; padding: 26px 27px 21px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #dedfd4; background: rgba(255,253,247,.55); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.program-card:hover { transform: translateY(-4px); border-color: #c7d2c8; box-shadow: 0 12px 36px rgba(28,54,44,.07); }
.program-card-featured { background: #fffdf7; border-color: #c8d5cb; }
.card-index { color: #929b92; font-size: 9px; }
.program-icon { width: 48px; height: 48px; margin-top: 14px; display: grid; place-items: center; border-radius: 50%; background: #e5ede5; color: var(--forest); }
.program-icon svg { width: 32px; height: 32px; }
.icon-terracotta { background: #f4e8df; color: var(--terracotta); }
.icon-gold { background: #f2eddc; color: #a17c3e; }
.program-card h3 { margin: 14px 0 0; font-size: 17px; font-weight: 800; }
.program-card > p { margin: 8px 0 19px; color: #6c7770; font-size: 11px; line-height: 2.1; }
.card-foot { width: 100%; margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e6e4d8; color: #7d887e; font-size: 9px; }
.card-foot b { color: var(--forest); font-size: 14px; font-weight: 400; }

.learning-section { overflow: hidden; background: #ecefe5; }
.learning-grid { display: grid; grid-template-columns: 1.02fr .88fr; align-items: center; gap: clamp(55px, 10vw, 140px); }
.learning-visual { position: relative; padding: 0 0 28px 27px; }
.learning-photo { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 1.07 / 1; border-radius: 5px 5px 42% 5px; background: #d9e0d6; }
.learning-photo img { height: 100%; object-fit: cover; }
.photo-outline { position: absolute; inset: 22px 22px 4px 0; border: 1px solid #c8a96e; border-radius: 5px 5px 42% 5px; }
.photo-sticker { position: absolute; z-index: 2; left: 0; bottom: 0; width: 119px; height: 119px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--forest); color: var(--white); text-align: center; transform: rotate(-8deg); }
.photo-sticker span { color: #cfbd93; font-size: 10px; }
.photo-sticker strong { font-size: 15px; }
.photo-sticker i { position: absolute; left: 19px; top: 14px; color: #ddc27f; font-size: 12px; font-style: normal; }
.learning-copy h2 { margin-top: 13px; }
.learning-copy > p { max-width: 490px; margin: 18px 0 0; color: #5d6b63; font-size: 12px; line-height: 2.25; }
.learning-points { display: grid; gap: 16px; margin-top: 27px; }
.learning-points > div { display: flex; align-items: center; gap: 12px; }
.point-num { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #c8a96e; border-radius: 50%; color: var(--forest); font-size: 10px; font-weight: 700; }
.learning-points strong, .learning-points small { display: block; }
.learning-points strong { font-size: 11px; }
.learning-points small { color: #79837a; font-size: 9px; }
.text-cta { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; color: var(--forest); font-size: 11px; font-weight: 700; }
.text-cta b { font-size: 17px; font-weight: 400; }

.facilities-section { background: #fffdf7; }
.facilities-grid { display: grid; grid-template-columns: .9fr 1.04fr; align-items: center; gap: clamp(58px, 9vw, 120px); }
.facilities-copy h2 { margin-top: 13px; }
.facilities-copy > p { max-width: 500px; margin: 17px 0 0; color: #657269; font-size: 12px; line-height: 2.2; }
.facility-list { display: grid; gap: 17px; margin: 27px 0 0; padding: 0; list-style: none; }
.facility-list li { display: flex; gap: 12px; align-items: flex-start; }
.facility-symbol { color: var(--gold); font-size: 17px; line-height: 1.4; }
.facility-list strong, .facility-list small { display: block; }
.facility-list strong { font-size: 11px; }
.facility-list small { color: #808981; font-size: 9px; }
.facilities-visual { position: relative; padding: 0 0 39px 40px; }
.library-frame { overflow: hidden; aspect-ratio: 1.18 / 1; border-radius: 50% 4px 4px 4px; background: #d7ddd2; }
.library-frame img { height: 100%; object-fit: cover; }
.library-note { position: absolute; z-index: 1; right: 0; bottom: 0; width: 189px; min-height: 106px; padding: 18px 19px; display: flex; flex-direction: column; justify-content: center; background: var(--forest); color: var(--white); }
.library-note > span:first-child { color: #d9c38c; font-size: 9px; }
.library-note strong { font-size: 14px; }
.note-spark { position: absolute; left: 15px; top: 12px; color: #d9c38c; font-size: 14px; }
.facilities-side-note { position: absolute; left: 0; top: 38px; color: #7e887e; font-size: 9px; writing-mode: vertical-rl; }
.facilities-side-note span { margin-block: 8px; color: var(--gold); }

.values-banner { position: relative; overflow: hidden; padding-block: 50px; background: #e5dfce; }
.values-banner-inner { position: relative; z-index: 1; min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.banner-star { color: var(--gold); font-size: 31px; }
.values-banner p { flex: 1; margin: 0; color: var(--ink); font-size: clamp(20px, 3vw, 31px); font-weight: 700; line-height: 1.7; }
.values-banner p em { color: var(--forest); }
.banner-caption { color: #767a6f; font-size: 10px; white-space: nowrap; }
.banner-ornament { position: absolute; left: -60px; top: -120px; width: 260px; height: 260px; border: 1px solid rgba(23,72,59,.11); border-radius: 50%; }
.banner-ornament::after { content: ""; position: absolute; inset: 23px; border: 1px solid rgba(23,72,59,.1); border-radius: 50%; }

.student-life-section { background: var(--paper); }
.life-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 35px; }
.life-heading h2 { margin-top: 12px; }
.life-heading > p { max-width: 365px; margin: 0 0 7px; color: #69756d; font-size: 11px; line-height: 2.2; }
.life-showcase { position: relative; display: grid; grid-template-columns: 1.65fr .9fr; min-height: 395px; }
.life-photo { overflow: hidden; min-height: 395px; background: #cdd6cd; }
.life-photo img { height: 100%; object-fit: cover; object-position: center; }
.life-caption { position: relative; overflow: hidden; padding: 37px 32px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: var(--forest); color: var(--white); }
.life-caption::after { content: ""; position: absolute; left: -65px; bottom: -79px; width: 190px; height: 190px; border: 1px solid rgba(232,211,162,.22); border-radius: 50%; }
.life-caption-index { color: #d7c38f; font-size: 9px; }
.life-caption h3 { margin: 20px 0 0; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.8; }
.life-caption p { max-width: 230px; margin: 12px 0 0; color: rgba(255,255,255,.68); font-size: 10px; line-height: 2.1; }
.life-caption-star { margin-top: 25px; color: #d7c38f; font-size: 17px; }
.life-note { position: absolute; right: 28px; top: 27px; padding: 10px 14px; background: var(--paper); color: var(--forest); font-size: 10px; font-weight: 700; line-height: 1.7; box-shadow: 0 6px 22px rgba(18,34,26,.13); }
.life-note em { color: var(--terracotta); }
.life-tags { display: flex; justify-content: space-between; gap: 18px; padding-top: 19px; border-bottom: 1px solid #dedfd4; padding-bottom: 18px; }
.life-tags span { display: flex; align-items: center; gap: 8px; color: #68746c; font-size: 10px; }
.life-tags i { color: var(--gold); font-size: 9px; font-style: normal; }

.news-section { background: #fffdf7; }
.news-heading { margin-bottom: 37px; }
.news-grid { display: grid; grid-template-columns: 1.08fr 1fr 1fr; gap: 14px; }
.news-card { position: relative; overflow: hidden; min-height: 284px; padding: 19px 21px 18px; display: flex; flex-direction: column; border: 1px solid #e3e1d7; background: #f6f3ea; }
.news-card-main { background: #e9efe8; border-color: #d8e1d8; }
.news-card-light { background: #f7f4ec; }
.news-card-sand { background: #f0e8da; }
.news-card-top { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 8px; color: #738076; font-size: 9px; }
.news-category { color: var(--forest); font-weight: 700; }
.news-date { color: #8d9289; }
.news-card-content { position: relative; z-index: 1; margin-top: 32px; }
.news-mark { color: rgba(23,72,59,.48); font-size: 10px; }
.news-card h3 { margin: 7px 0 0; font-size: 19px; font-weight: 800; line-height: 1.8; }
.news-card p { max-width: 295px; margin: 8px 0 16px; color: #727c73; font-size: 10px; line-height: 2; }
.news-read { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); font-size: 9px; font-weight: 700; }
.news-read b { font-size: 14px; font-weight: 400; }
.news-card-pattern { position: absolute; left: -13px; bottom: -48px; color: rgba(23,72,59,.07); font-size: 158px; line-height: 1; }

.testimonial-section { position: relative; overflow: hidden; background: var(--forest-deep); color: var(--white); }
.testimonial-inner { position: relative; display: grid; grid-template-columns: .8fr 1.3fr; align-items: center; gap: 80px; }
.testimonial-heading h2 { margin: 15px 0 0; font-size: clamp(28px, 3.7vw, 45px); line-height: 1.65; }
.testimonial-heading h2 em { color: #e2c78e; }
.testimonial-label { display: inline-block; margin-top: 26px; padding: 4px 11px; border: 1px solid rgba(226,199,142,.46); color: #dfcc9e; font-size: 9px; }
.testimonial-quote { position: relative; padding: 26px 29px 23px; border-inline-start: 1px solid rgba(255,255,255,.3); }
.quote-mark { position: absolute; top: -16px; right: 21px; color: #d5bd83; font-family: Georgia, serif; font-size: 62px; line-height: 1; }
.testimonial-quote blockquote { max-width: 610px; margin: 23px 0 28px; color: rgba(255,255,255,.9); font-size: clamp(17px, 2vw, 22px); font-weight: 500; line-height: 2.1; }
.quote-attribution { display: flex; align-items: center; gap: 11px; }
.quote-avatar { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(226,199,142,.7); border-radius: 50%; color: #e4cf9b; font-size: 13px; }
.quote-attribution strong, .quote-attribution small { display: block; }
.quote-attribution strong { font-size: 10px; }
.quote-attribution small { color: rgba(255,255,255,.57); font-size: 9px; }
.testimonial-flower { position: absolute; left: -65px; bottom: -93px; color: rgba(220,195,139,.12); font-size: 210px; }

.contact-section { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr .86fr; align-items: start; gap: clamp(55px, 9vw, 124px); }
.contact-copy h2 { margin-top: 13px; }
.contact-copy > p { max-width: 450px; margin: 15px 0 0; color: #68756d; font-size: 11px; line-height: 2.1; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 19px; margin-top: 29px; }
.contact-detail { display: flex; align-items: flex-start; gap: 10px; }
.detail-icon { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border: 1px solid #d3d9cf; border-radius: 50%; color: var(--forest); font-size: 13px; }
.contact-detail small, .contact-detail strong { display: block; }
.contact-detail small { color: #899087; font-size: 9px; }
.contact-detail strong { color: #46564c; font-size: 9px; font-weight: 700; line-height: 1.8; }
.map-placeholder { position: relative; overflow: hidden; min-height: 152px; margin-top: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 1px solid #d7ddcf; background: #e8ece2; color: #637266; }
.map-grid-lines { position: absolute; inset: -50%; opacity: .43; background-image: linear-gradient(29deg, transparent 48%, #becbbd 49%, #becbbd 50%, transparent 51%), linear-gradient(151deg, transparent 48%, #c3cebf 49%, #c3cebf 50%, transparent 51%); background-size: 48px 41px; transform: rotate(-8deg); }
.map-pin { position: relative; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; background: var(--forest); color: var(--white); font-size: 17px; transform: rotate(-45deg); }
.map-pin::first-letter { transform: rotate(45deg); }
.map-label, .map-caption { position: relative; z-index: 1; }
.map-label { margin-top: 7px; color: var(--forest); font-size: 10px; font-weight: 700; }
.map-caption { color: #778178; font-size: 8px; }
.contact-form-card { padding: 30px clamp(23px, 3.3vw, 43px) 26px; border: 1px solid #dfdfd4; background: #fffdf7; box-shadow: 0 16px 42px rgba(32, 53, 42, .05); }
.form-card-top { display: flex; align-items: center; justify-content: space-between; }
.form-card-top .section-number { color: #899287; font-size: 9px; }
.form-spark { color: var(--gold); font-size: 19px; }
.contact-form-card h3 { margin: 13px 0 0; font-size: 22px; line-height: 1.75; }
.form-intro { margin: 9px 0 18px; color: #7a8379; font-size: 9px; }
.form-fields { display: grid; gap: 12px; }
.form-fields label { display: grid; gap: 5px; color: #647067; font-size: 9px; font-weight: 600; }
.form-fields input, .form-fields textarea { width: 100%; padding: 10px 12px; border: 1px solid #e3e3d9; border-radius: 2px; outline: none; background: #fbfaf5; color: #6b756d; font: inherit; font-size: 9px; resize: none; opacity: 1; -webkit-text-fill-color: #828a81; }
.form-fields input::placeholder, .form-fields textarea::placeholder { color: #a2a89f; -webkit-text-fill-color: #a2a89f; }
.form-submit { min-height: 43px; margin-top: 16px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; background: var(--forest); color: var(--white); font-size: 10px; font-weight: 700; }
.form-submit b { font-size: 16px; font-weight: 400; }
.form-note { display: block; margin-top: 10px; color: #9a9d91; font-size: 8px; text-align: center; }

.site-footer { background: #123a30; color: var(--white); }
.footer-main { padding-block: 52px 39px; display: grid; grid-template-columns: 1.55fr .9fr .95fr .65fr; gap: 36px; }
.footer-brand { color: #f6f3ea; }
.footer-brand .brand-mark { color: #d8c18b; }
.footer-brand .brand-copy small { color: rgba(255,255,255,.55); }
.footer-brand-block > p { max-width: 260px; margin: 18px 0 0; color: rgba(255,255,255,.62); font-size: 10px; line-height: 2.1; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: rgba(255,255,255,.63); font-size: 9px; }
.footer-column > strong { margin-bottom: 5px; color: #f1e4bf; font-size: 10px; }
.footer-slogan { align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; color: #e0c88f; font-size: 12px; }
.footer-slogan b { font-size: 23px; font-weight: 400; }
.footer-bottom { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.55); font-size: 8px; }
.footer-bottom b { color: #d3a482; font-size: 10px; }

@media (max-width: 980px) {
  :root { --gutter: 36px; }
  .main-nav { gap: 14px; font-size: 10px; }
  .header-cta { padding-inline: 11px; font-size: 10px; }
  .hero-grid { grid-template-columns: .9fr 1fr; gap: 36px; }
  .hero-image-frame, .hero-image-frame img { min-height: 335px; }
  .hero-copy h1 { font-size: clamp(39px, 5vw, 56px); }
  .intro-grid { grid-template-columns: .53fr 1.4fr .65fr; gap: 28px; }
  .stat-item { padding-inline: 18px; }
  .learning-grid, .facilities-grid { gap: 52px; }
  .testimonial-inner { gap: 45px; }
  .footer-main { grid-template-columns: 1.25fr 1fr 1fr; }
  .footer-slogan { display: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 24px; }
  .sample-strip { justify-content: flex-start; min-height: 38px; font-size: 9px; }
  .sample-strip-mark { display: none; }
  .header-inner { min-height: 74px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 14px; }
  .main-nav { display: none; }
  .header-cta { min-height: 38px; gap: 8px; font-size: 9px; }
  .hero-section { padding-top: 22px; }
  .hero-grid { grid-template-columns: 1fr; gap: 29px; }
  .hero-copy { padding-block: 17px 0; }
  .eyebrow { margin-bottom: 14px; font-size: 10px; }
  .hero-copy h1 { font-size: clamp(38px, 10vw, 56px); line-height: 1.45; }
  .hero-lead { margin-top: 13px; font-size: 12px; line-height: 2.15; }
  .hero-actions { margin-top: 19px; gap: 6px; }
  .button { min-height: 44px; padding-inline: 13px; font-size: 10px; }
  .hero-values { gap: 12px; margin-top: 22px; font-size: 9px; }
  .hero-image-frame { min-height: unset; aspect-ratio: 1.08 / 1; border-radius: 34% 4px 4px 4px; }
  .hero-image-frame img { min-height: unset; }
  .hero-side-note { top: 23px; left: -16px; font-size: 8px; }
  .hero-seal { left: -14px; bottom: 34px; width: 77px; height: 77px; }
  .hero-seal span, .hero-seal small { font-size: 7px; }
  .hero-seal strong { font-size: 10px; }
  .hero-image-caption { right: 22px; bottom: 19px; }
  .hero-bottom-rule { margin-top: 37px; }
  .section-pad { padding-block: 73px; }
  .intro-grid { grid-template-columns: 1fr; gap: 22px; }
  .section-label { display: flex; align-items: center; gap: 11px; }
  .label-stem { width: 22px; height: 1px; margin: 0; }
  .section-label p { font-size: 9px; }
  .intro-main h2, .section-heading-row h2, .learning-copy h2, .facilities-copy h2, .life-heading h2, .contact-copy h2 { font-size: clamp(29px, 8vw, 39px); }
  .intro-text { margin-top: 12px; font-size: 12px; }
  .intro-aside { display: none; }
  .stats-section { padding-block: 51px; }
  .stats-heading { align-items: flex-start; flex-direction: column; gap: 13px; padding-bottom: 22px; }
  .stats-heading h2 { font-size: 25px; }
  .stats-heading > p { font-size: 9px; }
  .stats-list { grid-template-columns: 1fr 1fr; padding-top: 22px; row-gap: 24px; }
  .stat-item { min-height: 108px; padding-inline: 14px; border-inline-start: 0; }
  .stat-item:nth-child(odd) { border-inline-start: 1px solid rgba(255,255,255,.17); }
  .stat-item:first-child { padding-inline-start: 0; }
  .stat-item > strong { font-size: 32px; }
  .stat-motto { padding-top: 8px; }
  .section-heading-row, .life-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 26px; }
  .section-heading-row > p, .life-heading > p { font-size: 10px; }
  .program-grid { grid-template-columns: 1fr; gap: 10px; }
  .program-card { min-height: 260px; padding: 22px; }
  .learning-grid, .facilities-grid { grid-template-columns: 1fr; gap: 38px; }
  .learning-visual { order: 2; max-width: 520px; padding-inline-start: 23px; }
  .learning-copy { order: 1; }
  .learning-photo { aspect-ratio: 1.14 / 1; }
  .photo-outline { inset-inline-start: 0; inset-inline-end: 18px; }
  .photo-sticker { width: 94px; height: 94px; }
  .photo-sticker strong { font-size: 12px; }
  .facilities-visual { max-width: 520px; padding-inline-start: 30px; }
  .library-frame { aspect-ratio: 1.05 / 1; }
  .library-note { width: 160px; min-height: 92px; }
  .values-banner { padding-block: 34px; }
  .values-banner-inner { flex-wrap: wrap; justify-content: flex-start; gap: 11px; }
  .banner-star { font-size: 23px; }
  .values-banner p { flex-basis: calc(100% - 42px); font-size: 20px; }
  .banner-caption { margin-inline-start: 34px; font-size: 9px; }
  .life-heading h2 { margin-top: 8px; }
  .life-showcase { grid-template-columns: 1fr; }
  .life-photo { min-height: 280px; aspect-ratio: 1.18 / 1; }
  .life-caption { min-height: 235px; padding: 26px; }
  .life-caption h3 { margin-top: 10px; }
  .life-caption-star { margin-top: 12px; }
  .life-note { top: 18px; right: 14px; }
  .life-tags { flex-direction: column; gap: 8px; padding-block: 15px; }
  .news-grid { grid-template-columns: 1fr; gap: 10px; }
  .news-card { min-height: 240px; }
  .news-card-content { margin-top: 22px; }
  .testimonial-inner { grid-template-columns: 1fr; gap: 35px; }
  .testimonial-heading h2 { font-size: 33px; }
  .testimonial-quote { padding-inline: 20px; }
  .testimonial-quote blockquote { font-size: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 37px; }
  .contact-details { grid-template-columns: 1fr; gap: 14px; }
  .map-placeholder { min-height: 140px; }
  .contact-form-card { padding: 24px 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding-block: 38px 29px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-bottom { min-height: unset; align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 13px; font-size: 8px; }
}

@media (max-width: 390px) {
  :root { --gutter: 18px; }
  .sample-strip { font-size: 8px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button-quiet { justify-content: flex-start; }
  .hero-values { gap: 9px; font-size: 8px; }
  .contact-form-card h3 { font-size: 20px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand-block { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* EduFlow sign-in (added 2026-10-09) */
.header-actions { display: flex; align-items: center; gap: 10px; }
.student-entry { min-height: 42px; padding: 0 18px; display: inline-flex; gap: 10px; align-items: center; justify-content: center; border-radius: 4px; background: var(--forest); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; text-decoration: none; transition: filter .2s ease, transform .2s ease; }
.student-entry:hover { filter: brightness(1.12); }
.student-entry:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.student-entry svg { width: 16px; height: 16px; transform: scaleX(-1); }
@media (max-width: 980px) { .student-entry { padding-inline: 13px; font-size: 10px; } }
@media (max-width: 720px) { .student-entry { min-height: 38px; font-size: 11px; } .header-actions .header-cta { display: none; } }

/* Real links in place of the template's display-only spans (2026-10-09) */
.main-nav a, .footer-column a, .contact-detail a { color: inherit; text-decoration: none; transition: color .2s ease; }
.main-nav a:hover, .footer-column a:hover, .contact-detail a:hover { color: var(--forest); }
a.header-cta, a.button, a.text-cta, a.news-read, a.form-submit { text-decoration: none; cursor: pointer; }
a.button-primary { color: var(--white, #fff); }
a.text-cta, a.header-cta { color: var(--forest); }
a.news-read { color: inherit; }
a.form-submit { color: var(--white, #fff); }
.main-nav a:focus-visible, .footer-column a:focus-visible, a.button:focus-visible, a.header-cta:focus-visible, a.news-read:focus-visible, a.form-submit:focus-visible, a.text-cta:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
.login-points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.login-points li { position: relative; padding-inline-start: 22px; }
.login-points li::before { content: '✳'; position: absolute; inset-inline-start: 0; color: var(--gold, #b98b3e); }
.footer-column { display: flex; flex-direction: column; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* 404 */
.nf-body { min-height: 100vh; display: grid; place-items: center; background: var(--paper, #f6f1e7); }
.nf { max-width: 520px; padding: 40px 20px; text-align: center; }
.nf-code { display: block; font-size: clamp(72px, 18vw, 140px); font-weight: 800; color: var(--forest); line-height: 1; opacity: .9; }
.nf h1 { margin: 14px 0 8px; font-size: 26px; }
.nf p { color: #647067; margin: 0 0 24px; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Parents' association election (2026-10-10): menu tab + banner shown only while it runs */
.main-nav a.nav-anjoman { color: var(--forest); font-weight: 800; position: relative; }
.main-nav a.nav-anjoman::after { content: ''; position: absolute; inset-inline-start: -9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--gold); }
.anjoman-banner[hidden] { display: none; }
.anjoman-banner { display: flex; align-items: center; gap: 14px; padding: 12px max(16px, calc((100vw - 1180px) / 2)); background: linear-gradient(90deg, var(--forest-deep), var(--forest)); color: var(--white); text-decoration: none; }
.anjoman-banner .ab-star { color: var(--gold); font-size: 22px; }
.anjoman-banner .ab-text { flex: 1; display: flex; flex-direction: column; }
.anjoman-banner .ab-text strong { font-size: 14px; } .anjoman-banner .ab-text small { font-size: 12px; color: #cfdad4; }
.anjoman-banner .ab-cta { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--gold); color: var(--forest-deep); font-weight: 900; font-size: 14px; white-space: nowrap; }
.anjoman-banner:hover .ab-cta { filter: brightness(1.08); }
.anjoman-banner:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
@media (max-width: 520px) { .anjoman-banner .ab-text small { display: none; } }
/* On phones the template hides the menu: a thin tab row under the header keeps the sections and
   the election tab reachable. */
.mobile-subnav { display: none; }
@media (max-width: 720px) {
  .mobile-subnav { display: flex; gap: 20px; padding: 0 var(--gutter); border-bottom: 1px solid rgba(23, 72, 59, .1); background: rgba(246, 243, 234, .96); overflow-x: auto; scrollbar-width: none; }
  .mobile-subnav::-webkit-scrollbar { display: none; }
  .mobile-subnav a { flex: none; padding: 11px 0 10px; color: #546159; font-size: 11px; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
  .mobile-subnav a.on { color: var(--forest); font-weight: 800; border-bottom-color: var(--gold); }
}
@media (max-width: 380px) { .brand-copy small { display: none; } .student-entry { padding-inline: 10px; } }

/* The school book (2026-10-10): scroll-driven frames, see /site/book.js */
.book-section { position: relative; height: 340vh; background: var(--paper); }
.book-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.book-head { padding-top: clamp(26px, 5vh, 56px); }
.book-head h2 { margin: 12px 0 0; font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; line-height: 1.6; letter-spacing: -.035em; }
.book-stage { position: relative; flex: 1; min-height: 0; }
.book-stage picture, .book-poster, .book-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.book-poster { object-fit: contain; }
.book-canvas { opacity: 0; transition: opacity .4s ease; }
.book-live .book-canvas { opacity: 1; }
.book-live .book-poster { opacity: 0; }
.book-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: clamp(18px, 4vh, 40px); color: #7a8179; font-size: 10px; }
.book-progress { flex: 0 0 min(240px, 40%); height: 2px; background: #dbded3; overflow: hidden; }
.book-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--forest)); transform: scaleX(0); transform-origin: right center; }
.book-static { height: auto; }
.book-static .book-sticky { position: relative; height: auto; }
.book-static .book-stage { aspect-ratio: 16 / 10; flex: none; }
.book-static .book-foot { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 720px) {
  .book-section { height: 300vh; }
  .book-static .book-stage { aspect-ratio: 72 / 100; }
}

/* «محافظت‌شده توسط GhostNet» seal in the footer (2026-10-12) */
.gn-seal { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 99px; border: 1px solid rgba(216, 193, 139, .35); background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .78); font-size: 10px; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.gn-seal svg { width: 15px; height: 15px; color: #d8c18b; flex: none; }
.gn-seal b { color: #f1e4bf; }
.gn-seal:hover { border-color: #d8c18b; background: rgba(255, 255, 255, .1); }
