@font-face {
  font-family: Vazir;
  src: url("./vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #173d37;
  --deep: #153e38;
  --text: #485b55;
  --line: #dbded3;
  --paper: #faf9f3;
  --gold: #e8c785;
  font-family: Vazir, Tahoma, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 280px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.63;
  cursor: wait;
}
p {
  line-height: 1.95;
  color: var(--text);
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  color: inherit;
}
svg {
  flex-shrink: 0;
}
.container {
  width: min(1232px, calc(100% - 9vw));
  margin-inline: auto;
}
.header {
  border-bottom: 1px solid var(--line);
  background: #fffef9;
}
.headInner,
.footer,
.headButtons,
.brand,
nav,
.btn,
.login,
.guideLink,
.desktopNav,
.heroButtons,
.cardBtn,
.heroEyebrow,
.roseline,
.cardTop,
.choices,
.formActions,
.split,
.notice,
.guideTitle,
.steps,
.total {
  display: flex;
  align-items: center;
}
.headInner {
  min-height: 83px;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  gap: 11px;
  white-space: nowrap;
}
.brandmark {
  width: 56px;
  height: 68px;
  flex-shrink: 0;
}
.brandmark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand strong,
.brand small {
  display: block;
  line-height: 1.5;
}
.brand strong {
  font-size: 1.19rem;
  font-weight: 850;
}
.brand small {
  color: #66776c;
  font-size: 0.8rem;
}
.desktopNav {
  gap: 34px;
  height: 83px;
}
.desktopNav a {
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #52645c;
  position: relative;
}
.desktopNav a.active {
  font-weight: 750;
  color: var(--deep);
}
.desktopNav .active:after {
  position: absolute;
  content: "";
  height: 3px;
  width: 18px;
  background: #ba964f;
  bottom: 16px;
  right: calc(50% - 9px);
  border-radius: 2px;
}
.headButtons {
  gap: 8px;
}
.login,
.btn,
.cardBtn {
  justify-content: center;
  border-radius: 9px;
  gap: 9px;
  font-weight: 650;
  line-height: 1.55;
}
.login {
  background: #f2f4eb;
  padding: 10px 17px;
  border: 1px solid #d5dcce;
  font-size: 0.88rem;
}
.iconButton,
.x {
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 8px;
}
.mobileMenu,
.mobileNav {
  display: none;
}
.main {
  min-height: 64vh;
}
.hero {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  min-height: 366px;
  background: #163f39;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
}
.heroText {
  position: relative;
  padding: 42px clamp(30px, 4.7vw, 76px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff9e7;
  isolation: isolate;
}
.heroText:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./tile.svg") repeat 18% 45% / 84px;
  opacity: 0.14;
  mask-image: linear-gradient(115deg, black, transparent 76%);
  z-index: -1;
}
.heroText:after {
  content: "";
  position: absolute;
  inset: 12px 12px 12px 0;
  border: 1px solid #b1c8ad30;
  border-left: 0;
  border-radius: 0 12px 12px 0;
  pointer-events: none;
}
.heroEyebrow {
  gap: 10px;
  font-size: 0.92rem;
  color: #e4c38a;
  font-weight: 570;
}
.hero h1 {
  line-height: 1.46;
  font-size: clamp(2.5rem, 4.25vw, 4.35rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  margin: 10px 0 9px;
}
.hero h1 em {
  font-style: normal;
  color: #efd196;
  white-space: nowrap;
}
.heroText p {
  color: #e5ebe0;
  font-size: 1.025rem;
  line-height: 1.95;
  max-width: 390px;
}
.heroButtons {
  gap: 24px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.btn {
  width: max-content;
  max-width: 100%;
  padding: 11px 18px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  min-height: 44px;
}
.gold {
  background: #ebcd91;
  color: #263f32;
  box-shadow: 0 2px 8px #092d2929;
}
.guideLink {
  gap: 7px;
  color: #f5efdf;
  font-size: 0.9rem;
}
.heroArt {
  display: block;
  min-width: 0;
  align-self: center;
}
.heroArt img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.services {
  padding-top: 34px;
}
.sectionTitle {
  text-align: center;
  margin-bottom: 20px;
}
.roseline {
  direction: ltr;
  gap: 7px;
  justify-content: center;
  color: #a98b4d;
  margin-bottom: 3px;
}
.roseline i {
  height: 1px;
  width: 32px;
  background: #c4ad7a;
}
.sectionTitle h2,
.guide h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  letter-spacing: -0.035em;
  font-weight: 820;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  --accent: #235c4d;
  --tint: #e8f0e6;
  --edge: #c9d9ca;
  background: #fffef9;
  border: 1px solid var(--edge);
  border-radius: 15px;
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.financial {
  --accent: #856022;
  --tint: #f6edd8;
  --edge: #e5d9ba;
}
.volunteer {
  --accent: #356875;
  --tint: #e5eff0;
  --edge: #cbdcdf;
}
.cardTop {
  justify-content: space-between;
  margin-bottom: 13px;
}
.cardIcon,
.tintIcon {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  border-radius: 14px;
  background: var(--tint, #e9f0e8);
  color: var(--accent, #235c4d);
}
.cardRosette {
  color: var(--accent);
  opacity: 0.25;
  position: absolute;
  left: -15px;
  top: -19px;
  width: 102px;
  height: 102px;
  transform: rotate(22.5deg);
  stroke-width: 0.7;
}
.card h3 {
  font-weight: 800;
  font-size: 1.42rem;
  letter-spacing: -0.025em;
  color: var(--accent);
}
.card p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin: 4px 0 19px;
  flex: 1;
}
.cardBtn {
  width: 100%;
  padding: 9px;
  background: var(--tint);
  color: var(--accent);
  font-size: 0.93rem;
}
.register .cardBtn {
  background: var(--accent);
  color: white;
}
.btn,
.cardBtn,
.login,
.guideLink {
  transition:
    filter 0.15s,
    transform 0.15s;
}
.btn:hover,
.cardBtn:hover,
.login:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}
.guideLink:hover,
.textBtn:hover {
  text-decoration: underline;
}
.guide {
  margin: 44px auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.guideTitle {
  align-items: flex-start;
  gap: 12px;
}
.guideTitle > svg {
  margin-top: 7px;
  color: #a18145;
}
.guide h2 {
  font-size: 1.45rem;
}
.guide details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.guide summary,
.record summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  font-weight: 650;
}
.guide details[open] svg {
  transform: rotate(45deg);
}
.guide details p {
  font-size: 0.95rem;
  padding-bottom: 12px;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.footer {
  min-height: 98px;
  gap: 24px;
}
.footer > span,
.footer > a:last-child {
  font-size: 0.87rem;
  color: #66746a;
}
.footer > a:last-child {
  margin-right: auto;
}
.formWrap {
  max-width: 840px;
  margin: 28px auto 48px;
}
.crumb {
  display: flex;
  gap: 10px;
  color: #65766b;
  font-size: 0.875rem;
  margin-bottom: 14px;
}
.formWrap h1,
.success h1 {
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  font-weight: 820;
  margin-bottom: 15px;
}
.panel {
  background: #fffefb;
  border: 1px solid var(--line);
  border-radius: 17px;
}
.formPanel,
.recordBody {
  padding: clamp(18px, 3vw, 34px);
}
.steps {
  gap: 14px;
  margin: 0 0 20px;
  color: #64746c;
}
.steps span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.93rem;
}
.steps i {
  width: 32px;
  border-top: 1px solid #bdc4b9;
}
.steps .on {
  color: #235e4e;
  font-weight: 750;
}
.formPanel h2 {
  font-size: 1.35rem;
  margin-bottom: 17px;
}
.formPanel h3 {
  font-size: 1rem;
  margin: 20px 0 9px;
}
.formPanel > p {
  margin-bottom: 15px;
}
.formGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.wide {
  grid-column: 1/-1;
}
label,
legend {
  font-size: 0.93rem;
  font-weight: 610;
}
label {
  display: block;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
textarea {
  padding: 10px 12px;
  width: 100%;
  display: block;
  margin-top: 5px;
  border: 1px solid #bdc9bd;
  background: white;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 450;
  min-height: 45px;
}
input::placeholder,
textarea::placeholder {
  color: #7b887e;
}
textarea {
  resize: vertical;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  margin-bottom: 6px;
}
.choices {
  gap: 17px;
}
.choices label {
  display: flex;
  align-items: center;
  gap: 5px;
}
.choices input,
.fatherToggle input {
  accent-color: #256450;
  width: 17px;
  height: 17px;
}
.fatherToggle,
.total,
.notice {
  padding: 14px 16px;
  border-radius: 10px;
  background: #f1f4e9;
}
.fatherToggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 12px;
  cursor: pointer;
}
.fatherToggle input {
  margin-right: auto;
}
.formActions {
  gap: 10px;
  margin-top: 24px;
}
.primary {
  background: #225847;
  color: white;
}
.light {
  border-color: var(--line);
  background: #f5f6ef;
}
.total,
.split {
  justify-content: space-between;
  gap: 12px;
}
.total {
  margin: 14px 0;
  flex-wrap: wrap;
}
.notice {
  background: #f7eedc;
  color: #705326;
  gap: 8px;
  line-height: 1.85;
  font-size: 0.92rem;
}
.drop {
  border: 1.5px dashed #a7bbb0;
  padding: 23px;
  text-align: center;
  position: relative;
  background: #f7f9f3;
  border-radius: 12px;
  cursor: pointer;
}
.drop:focus-within,
.drop.drag {
  outline: 2px solid #37735f;
}
.drop > *:not(input) {
  display: block;
  margin: 3px auto;
}
.drop small,
.record small {
  font-weight: 450;
  color: #64736a;
}
.drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.error {
  color: #8b3225;
  background: #f9e9e4;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 0.95rem;
  margin: 12px 0;
}
.auth {
  color: var(--ink);
  width: min(420px, calc(100% - 26px));
  padding: 30px;
}
.auth::backdrop {
  background: #092b25a8;
  backdrop-filter: blur(4px);
}
.x {
  position: absolute;
  top: 14px;
  left: 14px;
}
.auth h2 {
  margin: 13px 0 5px;
}
.auth p {
  font-size: 0.94rem;
}
.auth label {
  margin: 16px 0;
}
.full {
  width: 100%;
}
.native,
.textBtn {
  color: #2b614e;
  font-size: 0.88rem;
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.native {
  display: block;
  text-align: center;
  margin-top: 16px;
}
.auth .split {
  margin-top: 10px;
}
.success,
.empty {
  padding: 40px;
  text-align: center;
  margin: 30px auto;
  max-width: 770px;
}
.success > svg,
.empty > svg {
  color: #437159;
  margin: 12px;
}
.success .btn,
.empty .btn {
  margin: 16px auto 0;
}
.record {
  margin: 14px 0;
}
.record summary {
  padding: 17px 20px;
}
.record small {
  display: block;
}
.status {
  font-size: 0.84rem;
  font-weight: 600;
  background: #e7eff0;
  color: #365b61;
  padding: 5px 11px;
  border-radius: 20px;
  white-space: nowrap;
}
.status.pending {
  color: #80591f;
  background: #faf0d7;
}
.status.approved {
  color: #226346;
  background: #e5f2e8;
}
.recordBody {
  border-top: 1px solid var(--line);
}
dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
dt {
  font-size: 0.86rem;
  color: #64766b;
}
dd {
  margin: 1px 0;
  overflow-wrap: anywhere;
}
.recordBody > a,
.recordBody > button {
  margin: 10px 0;
  display: flex;
}
.recordBody > p {
  overflow-wrap: anywhere;
}
@media (min-width: 1450px) {
  .hero {
    min-height: 390px;
  }
}
@media (max-width: 950px) {
  .heroText {
    padding: 34px 26px;
  }
  .hero {
    min-height: 330px;
    grid-template-columns: 1.05fr 1fr;
  }
  .heroButtons {
    gap: 14px;
  }
  .hero h1 {
    font-size: 2.65rem;
  }
  .card {
    padding: 18px;
  }
  .cards {
    gap: 12px;
  }
  .heroText p {
    font-size: 0.96rem;
  }
  .desktopNav {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .container {
    width: calc(100% - 32px);
  }
  .headInner {
    min-height: 69px;
    gap: 6px;
  }
  .desktopNav {
    display: none;
  }
  .mobileMenu {
    display: grid;
  }
  .mobileNav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
  }
  .brandmark {
    width: 44px;
    height: 54px;
  }
  .brand {
    gap: 7px;
  }
  .brand strong {
    font-size: 1.04rem;
  }
  .brand small {
    font-size: 0.76rem;
  }
  .login {
    padding: 8px 9px;
    font-size: 0.85rem;
  }
  .headButtons {
    gap: 2px;
  }
  .hero {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
  }
  .heroArt {
    width: 100%;
    max-width: 460px;
  }
  .heroText {
    padding: 24px;
  }
  .heroText:after {
    inset: 0 8px 8px;
    border: 1px solid #b1c8ad30;
    border-top: 0;
    border-radius: 0 0 8px 8px;
  }
  .hero h1 {
    font-size: clamp(2.05rem, 7.4vw, 2.8rem);
    margin: 5px 0;
  }
  .heroButtons {
    margin-top: 17px;
    gap: 17px;
  }
  .heroEyebrow {
    font-size: 0.85rem;
  }
  .heroText p {
    max-width: none;
  }
  .heroButtons .btn {
    padding: 9px 12px;
  }
  .guideLink {
    font-size: 0.84rem;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 18px 20px;
  }
  .cardTop {
    margin-bottom: 7px;
  }
  .cardIcon {
    width: 44px;
    height: 44px;
  }
  .card p {
    margin-bottom: 12px;
  }
  .sectionTitle {
    margin-bottom: 15px;
  }
  .services {
    padding-top: 24px;
  }
  .guide {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 25px auto;
    padding-top: 20px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
  }
  .footer > span {
    display: none;
  }
  .formGrid {
    grid-template-columns: 1fr;
  }
  .formWrap {
    margin-top: 18px;
  }
  .formWrap .split {
    align-items: flex-start;
  }
  .steps {
    gap: 7px;
  }
  .steps span {
    font-size: 0.82rem;
  }
  .steps i {
    width: 14px;
  }
  .success,
  .empty {
    padding: 22px;
  }
  .guide summary {
    font-size: 0.94rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
