@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./fonts/vazirmatn-fa.woff2") format("woff2");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./fonts/vazirmatn-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-200B,U+200F-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --paper: #faf8f4;
  --surface: #f1eee7;
  --navy: #19344b;
  --navy-deep: #112c3e;
  --muted: #4b5d64;
  --brown: #8d5030;
  --copper: #e6aa7e;
  --line: #d9d5cb;
  --wrap: 77rem;
  color-scheme: light;
  font: 100%/1.8 Vazirmatn, Tahoma, sans-serif;
  color: var(--navy);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { color: inherit; font: inherit; }
button, summary, select { cursor: pointer; }
button { background: transparent; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a05f38; outline-offset: 4px; }
::selection { background: #f0c7a9; color: var(--navy-deep); }
.wrap { width: min(calc(100% - clamp(2.25rem, 9vw, 10rem)), var(--wrap)); margin-inline: auto; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { width: 1.17em; height: 1.17em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; inset: .65rem .65rem auto auto; z-index: 10; transform: translateY(-160%); background: #fff; padding: .5rem 1rem; }
.skip-link:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5.85rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; }
.brand, .wordmark { display: inline-flex; }
.brand { align-items: center; gap: .65rem; min-inline-size: 0; }
.brand img { flex: none; width: 2.55rem; height: auto; }
.wordmark { flex-direction: column; align-items: start; }
.wordmark strong, .footer-brand, .credit-brand { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.wordmark strong { font-size: 2.16rem; line-height: .93; letter-spacing: -.06em; }
.wordmark small { font: 500 .64rem/1.5 Vazirmatn, Arial, sans-serif; letter-spacing: .074em; padding-top: .22rem; }
.main-nav, .header-actions { display: flex; align-items: center; }
.main-nav { gap: clamp(1.3rem, 3.2vw, 3.4rem); }
.main-nav a { font-size: .96rem; padding-block: .4rem; }
.main-nav a:hover, .footer a:hover { color: var(--brown); }
.header-actions { gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; white-space: nowrap; padding: .72rem 1.28rem; min-height: 3rem; border: 1px solid transparent; border-radius: .25rem; font-weight: 650; font-size: .99rem; line-height: 1.5; transition: background-color .15s ease, border-color .15s ease; }
.button-copper { background: var(--copper); color: var(--navy-deep); }
.button-copper:hover { background-color: #edbc96; }
.button-outline { color: var(--navy); border-color: #a7afa9; }
.button-outline:hover { background-color: #eeeae1; border-color: var(--navy); }
.button-small { padding: .54rem 1.05rem; min-height: 2.65rem; font-size: .9rem; }
.menu-button, .close-button { width: 2.65rem; height: 2.65rem; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: .25rem; }
.menu-button { display: none; }
.menu-button .icon, .close-button .icon { width: 1.3rem; height: 1.3rem; }
.hero { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(2rem,5.6vw,6.2rem); align-items: center; padding-block: clamp(2.6rem,5.5vw,5.3rem) clamp(3.3rem,6vw,6rem); }
h1 { font-size: clamp(2.65rem,4.62vw,4.55rem); line-height: 1.45; font-weight: 760; }
h1 em { color: var(--brown); font-style: normal; }
.hero-copy > p { max-width: 28rem; font-size: clamp(1.03rem,1.36vw,1.27rem); line-height: 2.04; margin-block: 0 1.4rem; color: var(--muted); }
.hero-actions, .draft-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.35rem; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 610; font-size: .96rem; text-decoration: underline; text-decoration-color: #ae9581; text-underline-offset: .4rem; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--brown); text-decoration-color: var(--brown); }
.section { padding-block: clamp(3.8rem,6.7vw,6.8rem); scroll-margin-top: 1rem; }
.section-grid { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); align-items: start; gap: clamp(2rem,6vw,6rem); }
h2 { font-size: clamp(1.9rem,3.05vw,3.05rem); line-height: 1.5; font-weight: 740; }
.section-intro p, .step-list p, .service-detail p, .faq-list p, .contact p { color: var(--muted); }
.section-intro p { max-width: 23rem; line-height: 1.95; margin-top: .65rem; }
.services { background: var(--surface); }
.service-list, .faq-list { border-top: 1px solid var(--line); }
.service, .faq-list details { border-bottom: 1px solid var(--line); }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
.service summary, .faq-list summary { display: flex; align-items: center; gap: 1rem; }
.service summary { padding: 1.18rem .1rem; }
.service summary:hover strong, .faq-list summary:hover strong { color: var(--brown); }
.service-icon { width: 1.75rem; height: 1.75rem; stroke-width: 1.35; color: var(--brown); margin-inline-end: .2rem; }
.service-heading { display: grid; }
.service-heading strong { font-size: 1.2rem; font-weight: 690; }
.service-heading small { color: var(--muted); font-size: .91rem; margin-top: .05rem; }
.toggle-sign { position: relative; width: 1rem; height: 1rem; margin-inline-start: auto; flex: none; color: var(--brown); }
.toggle-sign::before, .toggle-sign::after { content: ""; position: absolute; top: calc(50% - .75px); left: 0; right: 0; height: 1.5px; background: currentColor; }
.toggle-sign::after { transform: rotate(90deg); }
details[open] > summary .toggle-sign::after { display: none; }
.service-detail { padding: 0 3.15rem 1.35rem .3rem; }
.service-detail p { margin-bottom: .65rem; }
.process { display: grid; align-items: start; grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); gap: clamp(2rem,7vw,7rem); }
.step-list { margin: 0; padding-inline-start: 1.7rem; list-style-type: persian; }
.step-list li { padding-inline-start: .45rem; margin-bottom: 1.25rem; }
.step-list li:last-child { margin-bottom: 0; }
.step-list li::marker { color: var(--brown); font-weight: 650; }
.step-list h3 { font-size: 1.08rem; font-weight: 690; }
.step-list p { max-width: 32rem; line-height: 1.9; font-size: .96rem; margin-top: .12rem; }
.faq { border-top: 1px solid var(--line); }
.faq-list summary { padding-block: 1.15rem; }
.faq-list strong { font-size: 1.05rem; font-weight: 620; }
.faq-list p { margin: -.25rem 0 1.1rem; line-height: 1.9; }
.contact { color: var(--paper); background: var(--navy-deep); }
.contact-inner { padding-block: clamp(3rem,5vw,5rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.contact h2 { font-size: clamp(1.7rem,2.75vw,2.8rem); }
.contact p { color: #d2dedf; margin-top: .45rem; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.footer-brand, .credit-brand { font-size: 1.25rem; }
.footer-inner > div { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; color: var(--muted); font-size: .85rem; }
dialog { inset: 0; width: min(30rem, calc(100% - 1.8rem)); max-height: 86dvh; padding: clamp(1.25rem,3.4vw,2rem); margin: auto; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: .55rem; box-shadow: 0 1.2rem 5rem #142e3f30; }
dialog::backdrop { background: #102633a6; }
body.modal-open { overflow: hidden; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.dialog-top h2 { font-size: 1.7rem; }
.dialog-note { font-size: .91rem; color: var(--muted); margin-block: .75rem 1rem; }
dialog label { display: block; font-weight: 620; font-size: .93rem; margin-bottom: .24rem; }
dialog label span { font-size: .8rem; color: var(--muted); font-weight: 400; }
dialog input, dialog select, dialog textarea { display: block; width: 100%; padding: .5rem .65rem; border: 1px solid #aeb7b4; border-radius: .22rem; background: #fff; margin: 0 0 1rem; line-height: 1.7; }
dialog textarea { resize: vertical; }
.draft-actions { gap: .65rem; }
.simple-button { padding: .25rem; border: 0; }
.draft-status:not(:empty) { font-size: .89rem; color: var(--navy); margin-top: .7rem; }
.credits-page { max-width: 53rem; padding-block: clamp(3rem,7vw,6rem); }
.credits-page h1 { font-size: clamp(2rem,4vw,3.5rem); }
.credits-page > p { color: var(--muted); margin-block: .7rem 2rem; max-width: 42rem; }
.credit-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1rem 2rem; }
@media (max-width: 799px) {
  .header-inner { min-height: 4.65rem; gap: 1rem; }
  .main-nav { gap: 1.1rem; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  h1 { font-size: clamp(2.5rem,6.8vw,3.6rem); line-height: 1.36; }
  .hero-copy p { max-width: 34rem; margin-block: 0 1.4rem; }
  .section-grid { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .section-intro p { max-width: 36rem; }
  .process { grid-template-columns: minmax(0,1fr); gap: 1.7rem; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 4.2rem; }
  .brand { gap: .42rem; }
  .brand img { width: 1.85rem; }
  .wordmark strong { font-size: clamp(1rem, 4.65vw, 1.65rem); line-height: 1.15; text-wrap: balance; }
  .wordmark small { font-size: .52rem; }
  .header-actions { gap: .42rem; }
  .button-small { font-size: .79rem; min-height: 2.45rem; padding: .45rem .63rem; }
  .menu-button { display: grid; width: 2.45rem; height: 2.45rem; }
  .main-nav { z-index: 3; display: none; position: absolute; inset: 100% 0 auto 0; padding: .55rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: .3rem; box-shadow: 0 .5rem 1.2rem #1b354213; }
  .main-nav.is-open { display: grid; gap: .1rem; }
  .main-nav a { padding-block: .5rem; }
  .hero { padding-top: 2.1rem; padding-bottom: 2.65rem; gap: 1.65rem; }
  .hero-copy > p { line-height: 1.9; }
  .section { padding-block: 2.9rem; }
  .service summary { padding-block: .95rem; gap: .7rem; }
  .service-icon { width: 1.5rem; height: 1.5rem; }
  .service-detail { padding-inline-start: 2.45rem; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-inner { align-items: flex-start; }
  .footer-inner > div { gap: .85rem; }
}
@media (max-width: 410px) {
  .footer-inner { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
