@import url("https://cdn.jsdelivr.net/npm/vazirmatn@33.0.3/Vazirmatn-Variable-font-face.css");

@font-face {
  font-family: "KasraFa";
  src: url("/assets/fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: local("PeydaWeb-Regular"), local("Peyda Web Regular"), local("Peyda Regular"), local("Peyda");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: local("PeydaWeb-Medium"), local("Peyda Web Medium"), local("Peyda Medium"), local("Peyda");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: local("PeydaWeb-SemiBold"), local("Peyda Web SemiBold"), local("Peyda SemiBold"), local("Peyda");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: local("PeydaWeb-Bold"), local("Peyda Web Bold"), local("Peyda Bold"), local("Peyda");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "B Nazanin";
  src: local("B Nazanin"), local("BNazanin"), local("B Nazanin Regular"), local("Nazanin");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #203b61;
  --ink-2: #294a70;
  --gold: #e8ad3f;
  --gold-dark: #c48b24;
  --mist: #eef3fb;
  --paper: #ffffff;
  --line: rgba(32, 59, 97, 0.16);
  --text: #40526a;
  --muted: #6b7c91;
  --shadow: 0 24px 70px rgba(28, 55, 88, 0.11);
  --font-fa: "KasraFa", "Vazirmatn", "Peyda", "Peyda Web", PeydaWeb, PeydaFaNum, PeydaWebFaNum, "B Nazanin", BNazanin, Nazanin, "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-fa);
  font-size: 18px;
  line-height: 2;
  text-rendering: geometricPrecision;
  font-synthesis: none;
}
html, body, input, button, textarea, select, a {
  font-family: var(--font-fa);
}
body * {
  font-family: inherit;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.section-shell {
  width: min(1720px, calc(100% - 104px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--mist);
  backdrop-filter: none;
  border-bottom: 1px solid rgba(32, 59, 97, 0.08);
  isolation: isolate;
}
.topbar__inner {
  width: min(1200px, calc(100% - 104px));
  margin: 0 auto;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 44px;
}
.logo {
  display: inline-flex;
  align-items: center;
  background: var(--mist);
  border: 0;
  outline: 0;
  box-shadow: none;
  overflow: hidden;
}
.logo:focus,
.logo:focus-visible,
.logo:hover {
  border: 0;
  outline: 0;
  box-shadow: none;
}
.logo img {
  width: 142px;
  height: auto;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: var(--mist);
  transform: translateY(6px);
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: 44px;
  font-size: 15px;
  color: #263d5b;
}
.main-nav a { padding: 22px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-color: var(--gold); }
.main-nav--single { justify-content: center; font-weight: 700; }
.main-nav a[aria-current="page"] { border-color: var(--gold); }
.nav-cta, .gold-button, .line-button {
  border: 0;
  border-radius: 2px;
  min-height: 40px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}
.nav-cta { background: var(--ink); color: white; }
.gold-button { background: var(--gold); color: #17324f; box-shadow: 0 10px 26px rgba(232, 173, 63, 0.24); }
.gold-button:hover { background: var(--gold-dark); }
.line-button { background: transparent; color: white; border: 1px solid rgba(255,255,255,.42); }
.ghost-link { font-weight: 700; color: white; border-bottom: 1px solid rgba(255,255,255,.5); }

.hero {
  margin-top: 34px;
  display: flex;
  flex-direction: row-reverse;
  min-height: 600px;
  direction: rtl;
}
.hero__image {
  flex: 1 1 50%;
  min-width: 0;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__copy {
  flex: 1 1 50%;
  direction: rtl;
  background: var(--ink);
  color: white;
  padding: 62px 72px 66px 72px;
  border-bottom-right-radius: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  font-family: var(--font-fa);
  position: relative;
  overflow: hidden;
}
.hero__copy::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: repeating-linear-gradient(to bottom, transparent 0 8px, rgba(232,173,63,.9) 8px 14px);
}
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
}
.hero__copy .section-kicker {
  font-family: var(--font-fa);
  align-self: flex-end;
  margin-bottom: 22px;
  color: #e8ad3f;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 4.4vw, 72px);
  line-height: 1.45;
  letter-spacing: 0;
}
.hero__copy h1 {
  font-family: var(--font-fa);
  width: min(100%, 760px);
  align-self: flex-end;
  margin: 0 0 34px;
  color: #ffffff;
  font-size: clamp(42px, 3.35vw, 58px);
  font-weight: 900;
  line-height: 1.48;
  text-align: right;
}
.hero__copy h1 span {
  display: block;
}
.hero__copy p:not(.section-kicker) {
  font-family: var(--font-fa);
  width: min(100%, 760px);
  color: rgba(255,255,255,.9);
  margin-bottom: 0;
  font-size: clamp(18px, 1.1vw, 21px);
  font-weight: 500;
  line-height: 2.12;
  text-align: right;
  align-self: flex-end;
}
.hero__actions {
  direction: rtl;
  width: min(100%, 760px);
  align-self: flex-end;
  display: flex;
  gap: 34px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 48px;
}
.hero__actions .gold-button {
  min-width: 210px;
  min-height: 58px;
  padding: 0 34px;
  font-size: 20px;
  font-weight: 800;
}
.hero__actions .ghost-link {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
}

.section-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.section-heading--center { direction: rtl; justify-content: center; text-align: center; }
.section-heading--right { justify-content: flex-start; }
.section-heading span { width: 5px; height: 56px; background: var(--gold); display: inline-block; }
h2 { font-size: clamp(32px, 3vw, 46px); line-height: 1.5; margin-bottom: 0; }
.muted { color: var(--muted); }
.center-copy { text-align: center; max-width: 920px; margin-inline: auto; }

.intro {
  padding: 76px 0 84px;
  font-family: var(--font-fa);
}
.intro .section-heading {
  direction: rtl;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  height: 88px;
  margin-bottom: 4px;
  align-items: flex-start;
}
.intro .section-heading span {
  width: 5px;
  height: 85px;
  order: 0;
  flex: 0 0 5px;
}
.intro .section-heading h2 {
  font-family: var(--font-fa);
  color: var(--ink);
  font-size: clamp(40px, 2.75vw, 52px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: right;
}
.intro.section-shell > .intro__lead {
  direction: rtl;
  unicode-bidi: plaintext;
  font-family: var(--font-fa);
  color: #273f5f;
  width: 100%;
  max-width: 1720px;
  min-height: 0;
  margin: 0 0 78px;
  text-align: right;
  text-align-last: right;
  font-size: clamp(20px, 1.02vw, 23px);
  font-weight: 500;
  line-height: 2.55;
  letter-spacing: 0;
}
.intro__grid {
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  gap: 86px;
  align-items: center;
  direction: ltr;
}
.intro__grid > * { direction: rtl; }
.feature-list {
  display: grid;
  gap: 42px;
  font-family: var(--font-fa);
}
.feature-list article {
  direction: rtl;
  padding: 0 42px 0 0;
  position: relative;
  text-align: right;
}
.feature-list article::before {
  content: "";
  position: absolute;
  right: 2px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  transform: rotate(-45deg);
  transform-origin: center;
}
.feature-list strong {
  display: block;
  color: var(--gold);
  font-size: clamp(21px, 1.2vw, 25px);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0;
}
.feature-list p {
  color: #304968;
  margin: 8px 0 0;
  font-size: clamp(17px, .92vw, 20px);
  font-weight: 400;
  line-height: 2.25;
  letter-spacing: 0;
}
.intro__media { margin: 0; }
.intro__media img {
  border-radius: 46px 6px 46px 6px;
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 804 / 518;
  object-fit: cover;
}

.services { padding: 104px 0 92px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin-top: 48px;
}
.service-card {
  min-height: 300px;
  background: rgba(255,255,255,.38);
  border: 3px solid white;
  padding: 38px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-5px); background: white; box-shadow: var(--shadow); }
.service-card img { width: 46px; height: 46px; object-fit: contain; opacity: .82; }
.service-card h3 { font-size: 22px; margin: 18px 0 12px; }
.service-card h3::after { content: ""; display: block; width: 94px; height: 3px; background: var(--gold); margin: 16px auto 0; }
.service-card p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.service-card a { margin-top: auto; color: var(--gold-dark); font-size: 16px; font-weight: 700; }

.process {
  padding: 106px 0 98px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 96px;
  align-items: center;
  direction: ltr;
}
.process > * { direction: rtl; }
.timeline { list-style: none; padding: 34px 0 0; margin: 0; display: grid; gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 44px; bottom: 44px; right: 122px; width: 3px; background: #25b58d; }
.timeline li { position: relative; display: grid; grid-template-columns: 146px 1fr; gap: 28px; align-items: start; }
.timeline li::before {
  content: "";
  position: absolute;
  right: 116px;
  top: 11px;
  width: 16px;
  height: 16px;
  background: #25b58d;
  border-radius: 50%;
  border: 4px solid var(--mist);
  z-index: 2;
}
.timeline b { background: #c7d0dc; color: var(--ink); border-radius: 8px; padding: 5px 14px; font-size: 15px; text-align: center; z-index: 1; }
.timeline strong { font-size: 22px; }
.timeline p { grid-column: 2; color: var(--muted); margin: -8px 0 0; }
.process__media { margin: 0; }
.process__media img { width: 100%; aspect-ratio: 949 / 1067; object-fit: cover; border-radius: 82px 6px 82px 6px; box-shadow: var(--shadow); }

.license-band { position: relative; padding: 118px 0 92px; overflow: hidden; }
.license-band__arches {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 110px 310px at 12% 64%, rgba(197,206,219,.8) 49%, transparent 50%),
    radial-gradient(ellipse 120px 360px at 29% 45%, transparent 46%, rgba(239,229,211,.84) 47% 64%, transparent 65%),
    radial-gradient(ellipse 110px 320px at 47% 72%, rgba(197,206,219,.8) 49%, transparent 50%),
    radial-gradient(ellipse 120px 360px at 63% 45%, transparent 46%, rgba(239,229,211,.84) 47% 64%, transparent 65%),
    radial-gradient(ellipse 110px 320px at 75% 69%, rgba(197,206,219,.8) 49%, transparent 50%),
    radial-gradient(ellipse 120px 360px at 90% 45%, transparent 46%, rgba(239,229,211,.84) 47% 64%, transparent 65%);
  opacity: .72;
}
.license-band__inner { position: relative; z-index: 1; text-align: center; }
.license-band__inner > p { max-width: 1460px; margin: 0 auto 38px; color: var(--text); }
.certificate { width: min(980px, 92%); margin: 0 auto; box-shadow: 0 22px 60px rgba(32,58,95,.14); }

.testimonials { padding: 90px 0 86px; position: relative; }
.testimonial-controls { display: flex; gap: 0; margin: 34px 0 34px; direction: ltr; }
.testimonial-controls button {
  width: 48px;
  height: 42px;
  border: 1px solid rgba(32,59,97,.55);
  background: transparent;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; margin-top: 0; }
.quote-card {
  background: white;
  border: 2px solid rgba(32,59,97,.12);
  padding: 42px 44px;
  min-height: 260px;
  position: relative;
  box-shadow: 0 12px 36px rgba(25,52,84,.05);
}
.quote-card span { color: var(--gold); font-size: 82px; line-height: 1; position: absolute; top: 18px; left: 32px; }
.quote-card p { color: #243954; font-size: 17px; margin: 54px 0 32px; }
.quote-card b { color: var(--muted); font-size: 15px; }

.cta-strip {
  margin-top: 24px;
  margin-bottom: 112px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: white;
  min-height: 390px;
  overflow: hidden;
  border-bottom-right-radius: 74px;
  box-shadow: var(--shadow);
  direction: ltr;
}
.cta-strip__copy { direction: rtl; padding: 78px 82px; display: flex; flex-direction: column; justify-content: center; }
.cta-strip__copy h2 { color: white; }
.cta-strip__copy p { color: rgba(255,255,255,.86); }
.cta-strip__copy div { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-button {
  min-width: 220px;
  min-height: 58px;
  font-size: 18px;
  font-weight: 800;
}
.cta-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.cta-strip img { width: 100%; height: 100%; object-fit: cover; }

.faq { padding: 46px 0 118px; }
.faq-list { display: grid; gap: 16px; }
.faq-item {
  background: var(--ink);
  color: white;
  overflow: hidden;
  transition: background-color .28s ease, color .28s ease, box-shadow .28s ease;
}
.faq-item button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  min-height: 76px;
  text-align: right;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item button::after {
  content: "\2304";
  font-size: 24px;
  transition: transform .28s ease;
}
.faq-item.open { background: white; color: var(--ink); }
.faq-item.open button::after { transform: rotate(180deg); }
.faq-item p {
  margin: 0;
  padding: 0 42px;
  color: var(--text);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .34s ease, opacity .24s ease, padding-bottom .34s ease;
}
.faq-item.open p {
  max-height: 220px;
  padding-bottom: 30px;
  opacity: 1;
}

.archive-hero {
  padding: 84px 0 34px;
}
.archive-hero h1 {
  font-size: clamp(38px, 3.4vw, 58px);
  line-height: 1.45;
  margin: 0;
}
.archive-hero p {
  color: var(--text);
  max-width: 980px;
  font-size: 20px;
}
.archive-shell {
  padding: 24px 0 116px;
}
.archive-tools {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 38px rgba(25,52,84,.06);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 18px;
  margin-bottom: 24px;
}
.archive-tools label,
.regulation-form label {
  color: var(--ink);
  font-weight: 800;
  display: grid;
  gap: 8px;
}
.archive-tools input,
.archive-tools select,
.regulation-form input,
.regulation-form select,
.regulation-form textarea {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8fafd;
  color: var(--ink);
  padding: 12px 14px;
  min-height: 46px;
}
.archive-list {
  display: grid;
  gap: 18px;
}
.archive-row,
.document-record {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(25,52,84,.06);
}
.archive-row {
  padding: 30px 34px;
}
.archive-row h2 {
  font-size: clamp(24px, 1.8vw, 34px);
  margin-bottom: 10px;
}
.archive-meta {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.archive-row p {
  color: var(--text);
  margin-bottom: 18px;
  line-height: 2.1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.archive-link,
.archive-back,
.archive-download {
  color: var(--gold-dark);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.archive-link::before,
.archive-back::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(-45deg);
}
.archive-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.archive-download {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(225, 158, 37, .46);
  border-radius: 6px;
  background: rgba(225, 158, 37, .12);
  color: var(--ink);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.archive-download:hover,
.archive-download:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.download-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.download-icon::before {
  content: "";
  position: absolute;
  right: 7px;
  top: 1px;
  width: 2px;
  height: 10px;
  background: currentColor;
  border-radius: 2px;
}
.download-icon::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.archive-empty {
  background: white;
  border: 1px dashed var(--line);
  color: var(--muted);
  padding: 34px;
  text-align: center;
}
.archive-detail {
  padding: 84px 0 116px;
}
.archive-back {
  margin-bottom: 22px;
}
.document-record {
  padding: 42px;
}
.document-record h1 {
  font-size: clamp(34px, 3vw, 52px);
  margin: 0;
}
.document-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 28px 0;
}
.document-meta div {
  border: 1px solid var(--line);
  background: #f8fafd;
  padding: 14px 16px;
}
.document-meta span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 4px;
}
.document-meta strong {
  color: var(--ink);
}
.document-content {
  color: var(--text);
  line-height: 2.4;
  white-space: normal;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.document-download {
  margin-bottom: 24px;
}

.site-footer { background: var(--ink); color: white; border-top-left-radius: 54px; border-top-right-radius: 54px; padding-top: 74px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .8fr; gap: 110px; align-items: start; }
.footer-brand img { width: 220px; margin-bottom: 24px; }
.footer-grid p, .footer-grid a, .footer-grid label { color: rgba(255,255,255,.76); font-size: 15px; display: block; margin-bottom: 10px; }
.footer-grid h3 { color: white; margin-bottom: 18px; }
.newsletter { display: flex; border: 1px solid rgba(255,255,255,.5); width: min(360px, 100%); height: 42px; margin-top: 8px; }
.newsletter input { flex: 1; border: 0; background: transparent; color: white; padding: 0 12px; outline: 0; }
.newsletter button { width: 44px; border: 0; background: transparent; color: white; }
.copyright {
  margin: 52px auto 0;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  width: min(1720px, calc(100% - 104px));
  color: rgba(255,255,255,.62);
  text-align: center;
  font-size: 13px;
}

.ticket-dialog { width: min(560px, calc(100% - 28px)); border: 0; border-radius: 10px; padding: 0; box-shadow: 0 32px 90px rgba(11,24,42,.34); }
.ticket-dialog::backdrop { background: rgba(10,22,38,.55); backdrop-filter: blur(3px); }
.dialog-close-form { position: absolute; left: 16px; top: 14px; z-index: 1; }
.dialog-close-form button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #edf2f7; color: var(--ink); font-size: 24px; line-height: 1; }
.ticket-form { padding: 34px; display: grid; gap: 14px; background: white; }
.ticket-form h2 { margin-bottom: 6px; }
.ticket-form label { color: var(--ink); font-weight: 700; display: grid; gap: 6px; }
.ticket-form input, .ticket-form textarea, .ticket-form select { border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; background: #f8fafd; color: var(--ink); }
.ticket-form input[type="file"] {
  padding: 9px 12px;
}
.form-status { min-height: 26px; margin: 0; color: var(--gold-dark); font-weight: 700; }
.contact-panel {
  direction: rtl;
  padding: 38px 34px 34px;
  background: white;
  display: grid;
  gap: 16px;
}
.contact-panel h2 { margin-bottom: 8px; }
.contact-panel a,
.contact-panel p:not(.section-kicker) {
  margin: 0;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafd;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.contact-panel svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.admin-page { min-height: 100vh; }
.admin-shell { width: min(1100px, calc(100% - 40px)); margin: 46px auto; }
.admin-head { display: flex; justify-content: space-between; gap: 24px; align-items: center; background: white; border: 1px solid var(--line); padding: 28px; box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark { background: var(--ink); color: white; padding: 5px 10px; border-radius: 4px; }
.nav { display: flex; gap: 18px; align-items: center; }
.text-button { border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 4px; padding: 8px 12px; }
.stat-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.stat-strip span { background: var(--mist); border: 1px solid var(--line); padding: 8px 14px; }
.tickets { margin-top: 24px; display: grid; gap: 16px; }
.ticket-card { background: white; border: 1px solid var(--line); padding: 22px; box-shadow: 0 10px 32px rgba(25,52,84,.08); }
.ticket-card header { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.ticket-card h3 { margin-bottom: 4px; }
.ticket-meta { color: var(--muted); font-size: 13px; }
.ticket-message { color: var(--text); margin: 14px 0; }
.ticket-attachment {
  display: inline-flex;
  width: fit-content;
  margin: 12px 0 0;
  color: var(--gold-dark);
  font-weight: 800;
}
.status-pill { border: 1px solid var(--line); background: var(--mist); padding: 6px 12px; border-radius: 999px; }
.status-pill.done { background: #e9f7ef; color: #147442; }
.empty { background: white; border: 1px dashed var(--line); padding: 28px; color: var(--muted); text-align: center; }
.regulations-admin-head { margin-top: 34px; }
.admin-regulations {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}
.regulation-form {
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-wide {
  grid-column: 1 / -1;
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.regulation-admin-list {
  display: grid;
  gap: 12px;
}
.regulation-table {
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
}
.regulation-table__head,
.regulation-table__row {
  display: grid;
  grid-template-columns: 1.5fr .7fr .6fr 1.2fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
}
.regulation-table__head {
  background: var(--ink);
  color: white;
  font-weight: 800;
}
.regulation-table__row {
  border-top: 1px solid var(--line);
  color: var(--text);
}
.regulation-table__row strong {
  color: var(--ink);
}
.regulation-table__row div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.danger-button {
  color: #9d2f2f;
  border-color: rgba(157,47,47,.25);
}

@media (max-width: 1100px) {
  body { font-size: 16px; }
  .topbar__inner { grid-template-columns: 1fr auto; gap: 16px; }
  .main-nav { order: 3; grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; gap: 24px; padding-bottom: 8px; }
  .intro__grid, .process, .cta-strip { grid-template-columns: 1fr; }
  .hero { flex-direction: column-reverse; }
  .hero { min-height: auto; }
  .hero__copy { border-bottom-right-radius: 44px; padding: 48px 42px 54px; }
  .service-grid, .quote-grid, .footer-grid { grid-template-columns: 1fr; }
  .archive-tools,
  .document-meta,
  .regulation-form,
  .regulation-table__head,
  .regulation-table__row {
    grid-template-columns: 1fr;
  }
  .regulation-table__head { display: none; }
  .process__media { order: -1; }
  .footer-grid { gap: 28px; }
}

@media (max-width: 640px) {
  .section-shell, .topbar__inner, .copyright { width: min(100% - 28px, 1720px); }
  .topbar__inner { min-height: 58px; }
  .logo img { width: 104px; }
  .nav-cta { padding: 0 12px; min-height: 36px; }
  .hero { margin-top: 14px; }
  .hero__copy, .cta-strip__copy { padding: 28px 22px; }
  h1 { font-size: 30px; }
  .hero__copy h1 { font-size: 30px; line-height: 1.7; margin-bottom: 26px; }
  .hero__copy p:not(.section-kicker) { font-size: 16px; line-height: 2; }
  .hero__copy .section-kicker, .hero__actions .gold-button, .hero__actions .ghost-link { font-size: 16px; }
  h2 { font-size: 24px; }
  .intro, .services, .process, .testimonials { padding: 50px 0; }
  .service-card { min-height: auto; }
  .timeline::before { right: 62px; }
  .timeline li { grid-template-columns: 82px 1fr; gap: 14px; }
  .timeline li::before { right: 56px; }
  .timeline b { font-size: 12px; padding: 4px 8px; }
  .license-band { padding: 62px 0; }
  .license-band__arches { opacity: .34; }
  .faq-item button { padding: 0 18px; min-height: 64px; }
  .faq-item p { padding: 0 18px 22px; }
  .admin-head { align-items: stretch; flex-direction: column; }
}
