:root {
  --navy-950: #03143a;
  --navy-900: #041b4d;
  --navy-800: #082861;
  --blue-700: #064de8;
  --blue-600: #0a5cff;
  --blue-500: #2471ff;
  --sky-300: #70c4ea;
  --lime-400: #7ddc36;
  --ink: #071a3f;
  --muted: #66738e;
  --line: #dfe6f1;
  --surface: #f5f7fb;
  --white: #fff;
  --danger: #d6364f;
  --success: #16a46d;
  --shadow: 0 24px 70px rgba(5, 31, 81, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--white);
  background: var(--blue-600);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
select,
label,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

img,
svg {
  display: block;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  right: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue-600);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  color: #dfe9ff;
  background: var(--navy-950);
  font-size: 0.82rem;
}

.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar__item svg,
.footer__contact svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(8, 40, 97, 0.08);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(3, 20, 58, 0.09);
}

.header__inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: 240px 1fr 230px;
  align-items: center;
  gap: 32px;
}

.brand img {
  width: 185px;
  max-height: 48px;
  object-fit: contain;
  object-position: right center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  color: #273a60;
  font-size: 0.94rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding-block: 28px;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: 0;
  height: 3px;
  content: "";
  background: var(--blue-600);
  border-radius: 3px;
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-contact__icon {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--blue-600);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(10, 92, 255, 0.28);
}

.header-contact__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.header-contact small,
.header-contact strong {
  display: block;
}

.header-contact small {
  color: var(--muted);
  font-size: 0.7rem;
}

.header-contact strong {
  color: var(--navy-900);
  font-size: 0.92rem;
}

.hero {
  position: relative;
  min-height: 710px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(36, 113, 255, 0.22), transparent 26%),
    linear-gradient(117deg, var(--navy-950), var(--navy-900) 68%, #06225d);
}

.hero__grid,
.documents-section__pattern,
.site-footer__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(112, 196, 234, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 196, 234, 0.22) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 5%, #000 65%, transparent 100%);
}

.hero__glow {
  position: absolute;
  width: 640px;
  height: 640px;
  top: -220px;
  left: -120px;
  background: radial-gradient(circle, rgba(10, 92, 255, 0.35), transparent 66%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 90px;
  min-height: 600px;
  padding-block: 80px 100px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #bcd1ff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.eyebrow > span {
  width: 24px;
  height: 2px;
  background: var(--blue-500);
  border-radius: 99px;
}

.eyebrow--blue {
  color: var(--blue-600);
}

.hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.22;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--sky-300);
  font-style: normal;
}

.hero__copy > p {
  max-width: 660px;
  margin: 0;
  color: #c9d6f1;
  font-size: 1.06rem;
  line-height: 2.05;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  color: #e7efff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-size: 0.82rem;
}

.hero__tags svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--sky-300);
  stroke-width: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 13px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover:not(:disabled),
.button:focus-visible:not(:disabled) {
  transform: translateY(-2px);
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
.iran-map path:focus-visible,
.check-field input:focus-visible + .check-field__box {
  outline: 3px solid rgba(112, 196, 234, 0.45);
  outline-offset: 3px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.button--primary {
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 14px 30px rgba(10, 92, 255, 0.3);
}

.button--primary:hover {
  background: var(--blue-500);
  box-shadow: 0 18px 36px rgba(10, 92, 255, 0.36);
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.countdown-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 5, 30, 0.3);
  backdrop-filter: blur(16px);
}

.countdown-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 150px;
  height: 150px;
  content: "";
  background: radial-gradient(circle at top left, rgba(112, 196, 234, 0.28), transparent 70%);
}

.countdown-card__top,
.countdown-card__footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 22px;
}

.countdown-card__top {
  justify-content: flex-start;
  color: #dbe7ff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #ffc857;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 200, 87, 0.12);
}

.status-dot.is-open {
  background: var(--lime-400);
  box-shadow: 0 0 0 6px rgba(125, 220, 54, 0.13);
}

.status-dot.is-closed {
  background: #ff7185;
  box-shadow: 0 0 0 6px rgba(255, 113, 133, 0.12);
}

.countdown-card__body {
  position: relative;
  padding: 34px 26px 28px;
}

.countdown-card__kicker {
  color: var(--sky-300);
  font-size: 0.78rem;
  font-weight: 700;
}

.countdown-card h2 {
  margin: 5px 0 24px;
  font-size: 1.45rem;
}

.countdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  direction: ltr;
  gap: 8px;
}

.countdown div {
  min-width: 0;
  text-align: center;
}

.countdown strong,
.countdown span {
  display: block;
}

.countdown strong {
  padding: 7px 3px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-variant-numeric: tabular-nums;
}

.countdown span {
  margin-top: 7px;
  color: #91a6cf;
  direction: rtl;
  font-size: 0.7rem;
}

.countdown i {
  padding-top: 7px;
  color: #728ab9;
  font-size: 1.7rem;
  font-style: normal;
}

.countdown-card__date {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 12px 14px;
  color: #dce7ff;
  background: rgba(3, 20, 58, 0.45);
  border-radius: 12px;
  font-size: 0.78rem;
}

.countdown-card__date svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--sky-300);
  stroke-width: 1.7;
}

.countdown-card__footer {
  color: #8fa4cd;
  background: rgba(3, 20, 58, 0.42);
  font-size: 0.68rem;
}

.countdown-card__footer strong {
  color: #dce7ff;
}

.hero__summary {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -18px 50px rgba(3, 20, 58, 0.16);
  transform: translateX(50%);
}

.hero__summary > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 82px;
  padding: 14px 30px;
  border-left: 1px solid var(--line);
}

.hero__summary > div:last-child {
  border-left: 0;
}

.hero__summary strong {
  color: var(--blue-600);
  font-size: 1.42rem;
  white-space: nowrap;
}

.hero__summary span {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.section {
  padding-block: 110px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 52px;
}

.section-heading__index {
  padding-top: 8px;
  color: #d7dfed;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.section-heading h2 {
  margin: 8px 0 6px;
  color: var(--navy-900);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.3;
  letter-spacing: -0.05em;
}

.section-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.timeline-section {
  background: var(--white);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  z-index: 0;
  top: 33px;
  right: 12%;
  left: 12%;
  height: 2px;
  content: "";
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 15px);
}

.timeline__item {
  position: relative;
  z-index: 1;
  padding: 0 22px 28px;
  background: var(--surface);
  border: 1px solid #e6ebf3;
  border-radius: 20px;
}

.timeline__number {
  width: 66px;
  height: 66px;
  display: grid;
  margin-top: -1px;
  place-items: center;
  color: var(--blue-600);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 0 20px 20px;
  font-size: 1.2rem;
  font-weight: 900;
}

.timeline__item--accent {
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-600), #0347d5);
  border-color: var(--blue-600);
  box-shadow: 0 22px 48px rgba(10, 92, 255, 0.2);
}

.timeline__item--accent .timeline__number {
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.timeline__content {
  padding-top: 26px;
}

.timeline time {
  display: inline-block;
  color: var(--blue-600);
  font-size: 0.84rem;
  font-weight: 800;
}

.timeline__item--accent time {
  color: #d8e5ff;
}

.timeline h3 {
  margin: 7px 0 10px;
  color: var(--navy-900);
  font-size: 1.23rem;
}

.timeline__item--accent h3 {
  color: var(--white);
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.timeline__item--accent p {
  color: #d9e5ff;
}

.documents-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}

.documents-section__pattern {
  opacity: 0.13;
  mask-image: radial-gradient(circle at 82% 45%, #000 0 30%, transparent 67%);
}

.documents-section .container {
  position: relative;
  z-index: 1;
}

.section-heading--light .section-heading__index {
  color: rgba(255, 255, 255, 0.14);
}

.section-heading--light h2 {
  color: var(--white);
}

.section-heading--light p {
  color: #aabbdc;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.7fr);
  gap: 24px;
  align-items: stretch;
}

.map-panel,
.document-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.map-panel {
  min-height: 650px;
  padding: 22px;
}

.map-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #e6efff;
  font-size: 0.86rem;
  font-weight: 700;
}

.map-legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #93a9d3;
  font-size: 0.72rem;
  font-weight: 500;
}

.map-legend i {
  width: 10px;
  height: 10px;
  background: var(--lime-400);
  border-radius: 3px;
}

.map-wrap {
  position: relative;
  width: min(100%, 690px);
  margin: 12px auto 0;
}

.iran-map {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 16px 28px rgba(0, 6, 30, 0.28));
}

.iran-map path {
  cursor: pointer;
  fill: #bad0dc;
  stroke: #fff;
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
  transition: fill 0.18s ease, transform 0.18s ease, filter 0.18s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.iran-map path:hover,
.iran-map path:focus-visible {
  z-index: 2;
  fill: var(--sky-300);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.iran-map path.is-selected {
  fill: var(--lime-400);
  filter: drop-shadow(0 7px 12px rgba(125, 220, 54, 0.3));
}

.iran-map path.is-unavailable {
  cursor: default;
  fill: #839aa8;
}

.iran-map path.is-unavailable:hover {
  fill: #839aa8;
  filter: none;
  transform: none;
}

.map-center-marker {
  cursor: pointer;
  outline: none;
}

.map-center-marker__halo {
  fill: rgba(125, 220, 54, 0.18);
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.5;
  transition: fill 0.18s ease, transform 0.18s ease;
}

.map-center-marker__dot {
  fill: var(--sky-300);
  stroke: #fff;
  stroke-width: 2.5;
  transition: fill 0.18s ease, transform 0.18s ease;
}

.map-center-marker__label {
  fill: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  paint-order: stroke;
  stroke: var(--navy-950);
  stroke-width: 4px;
  stroke-linejoin: round;
  text-anchor: middle;
  pointer-events: none;
}

.map-center-marker:hover .map-center-marker__halo,
.map-center-marker:focus-visible .map-center-marker__halo,
.map-center-marker.is-selected .map-center-marker__halo {
  fill: rgba(125, 220, 54, 0.38);
  transform: scale(1.18);
}

.map-center-marker:hover .map-center-marker__dot,
.map-center-marker:focus-visible .map-center-marker__dot,
.map-center-marker.is-selected .map-center-marker__dot {
  fill: var(--lime-400);
  transform: scale(1.18);
}

.map-tooltip {
  position: absolute;
  z-index: 5;
  display: none;
  padding: 8px 12px;
  color: var(--navy-950);
  background: var(--white);
  border-radius: 9px;
  box-shadow: 0 10px 25px rgba(0, 7, 31, 0.25);
  font-size: 0.77rem;
  font-weight: 800;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 10px));
  white-space: nowrap;
}

.map-tooltip.is-visible {
  display: block;
}

.map-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -4px 0 0;
  color: #8fa4cd;
  font-size: 0.78rem;
}

.map-help svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--sky-300);
  stroke-width: 1.7;
}

.document-card {
  align-self: center;
  padding: 34px;
}

.document-card__label {
  color: var(--sky-300);
  font-size: 0.76rem;
  font-weight: 800;
}

.document-card__province {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 15px 0 26px;
}

.document-card__pin {
  width: 54px;
  height: 54px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue-600);
  background: var(--white);
  border-radius: 16px;
}

.document-card__pin svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.document-card__province small,
.document-card__province h3 {
  display: block;
  margin: 0;
}

.document-card__province small {
  color: #8fa4cd;
  font-size: 0.72rem;
}

.document-card__province h3 {
  color: var(--white);
  font-size: 1.35rem;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: #adbfdf;
  font-size: 0.76rem;
  font-weight: 600;
}

.select-control,
.form-field input,
.form-field select {
  width: 100%;
  height: 54px;
  padding: 0 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select-control {
  color: var(--navy-900);
  background-color: #f9fbff;
}

.document-file {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
  padding: 15px;
  color: #dbe6fb;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.document-file__icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--sky-300);
  background: rgba(112, 196, 234, 0.1);
  border-radius: 12px;
}

.document-file svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.document-file strong,
.document-file span {
  display: block;
}

.document-file strong {
  font-size: 0.88rem;
}

.document-file div > span {
  color: #8ea3ca;
  font-size: 0.7rem;
}

.button--download {
  width: 100%;
  color: var(--white);
  background: var(--blue-600);
}

.document-card__note {
  margin: 14px 0 0;
  color: #8499c2;
  font-size: 0.68rem;
  line-height: 1.8;
}

.rules-section {
  padding-block: 70px;
  background: var(--surface);
}

.rules-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 26px;
  padding: 34px 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.rules-card__icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: #edf4ff;
  border-radius: 22px;
}

.rules-card__icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.rules-card h2 {
  margin: 4px 0 5px;
  color: var(--navy-900);
  font-size: 1.6rem;
}

.rules-card p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.button--outline {
  color: var(--blue-600);
  background: var(--white);
  border: 1px solid #b8cdf8;
  white-space: nowrap;
}

.button--outline:hover {
  background: #f3f7ff;
  border-color: var(--blue-600);
}

.submission-section {
  background:
    linear-gradient(180deg, rgba(245, 247, 251, 0) 0, rgba(245, 247, 251, 0.7) 100%),
    var(--white);
}

.submission-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 18px 24px;
  color: #6b531f;
  background: #fff9e9;
  border: 1px solid #f6dfa1;
  border-radius: 16px;
}

.submission-status.is-open {
  color: #116545;
  background: #effbf6;
  border-color: #afe3cd;
}

.submission-status.is-closed {
  color: #8b2738;
  background: #fff2f4;
  border-color: #f3c2ca;
}

.submission-status > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.submission-status__icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
}

.submission-status__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.submission-status strong,
.submission-status span {
  display: block;
}

.submission-status strong {
  font-size: 0.92rem;
}

.submission-status div div span {
  opacity: 0.75;
  font-size: 0.75rem;
}

.submission-status__badge {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.65fr) minmax(0, 1.35fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-aside {
  position: relative;
  overflow: hidden;
  padding: 46px 38px;
  color: var(--white);
  background:
    radial-gradient(circle at 0 0, rgba(112, 196, 234, 0.2), transparent 36%),
    var(--navy-900);
}

.form-aside::after {
  position: absolute;
  bottom: -110px;
  left: -90px;
  width: 260px;
  height: 260px;
  content: "";
  border: 45px solid rgba(10, 92, 255, 0.18);
  border-radius: 50%;
}

.form-aside__number {
  display: block;
  margin-bottom: 8px;
  color: var(--sky-300);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
}

.form-aside h3 {
  margin: 0 0 28px;
  font-size: 1.4rem;
}

.form-aside ul {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.form-aside li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d6e3fb;
  font-size: 0.86rem;
}

.form-aside li > span {
  width: 25px;
  height: 25px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--blue-600);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 800;
}

.form-warning {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 36px;
  padding: 16px;
  color: #ffe3a4;
  background: rgba(255, 200, 87, 0.09);
  border: 1px solid rgba(255, 200, 87, 0.17);
  border-radius: 14px;
}

.form-warning svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.form-warning p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.9;
}

.tender-form {
  padding: 44px;
}

.form-step {
  padding: 0 0 34px;
  margin: 0 0 32px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.form-step legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-bottom: 22px;
  color: var(--navy-900);
  font-size: 1rem;
  font-weight: 800;
}

.form-step legend > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: #edf4ff;
  border-radius: 10px;
  font-size: 0.8rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field > span,
.form-field small {
  display: block;
}

.form-field > span {
  margin-bottom: 7px;
  color: #314360;
  font-size: 0.78rem;
  font-weight: 700;
}

.form-field b {
  color: var(--danger);
}

.form-field input,
.form-field select {
  background: #fbfcfe;
  border-color: #d8e0ec;
}

.form-field input:focus,
.form-field select:focus {
  background: var(--white);
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(10, 92, 255, 0.08);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: var(--danger);
}

.form-field small {
  margin-top: 5px;
  color: #8a96aa;
  font-size: 0.66rem;
}

.form-step--rules {
  padding-bottom: 28px;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  color: #33445f;
  font-size: 0.86rem;
}

.check-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.check-field__box {
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: transparent;
  background: var(--white);
  border: 1.5px solid #b8c4d6;
  border-radius: 7px;
  transition: all 0.2s ease;
}

.check-field__box svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.check-field input:checked + .check-field__box {
  color: var(--white);
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.form-step--upload {
  position: relative;
  padding-bottom: 28px;
}

.form-step--upload[disabled] .upload-grid {
  opacity: 0.36;
  filter: grayscale(0.35);
}

.upload-lock {
  display: none;
  align-items: center;
  gap: 9px;
  margin: -7px 0 18px;
  padding: 10px 12px;
  color: #6c778b;
  background: #f4f6f9;
  border-radius: 10px;
  font-size: 0.73rem;
}

.form-step--upload[disabled] .upload-lock {
  display: flex;
}

.upload-lock svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  transition: opacity 0.2s ease;
}

.upload-field {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  background: #f8faff;
  border: 1.5px dashed #c6d4e8;
  border-radius: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.upload-field:hover {
  background: #f1f6ff;
  border-color: var(--blue-500);
}

.upload-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.upload-field__icon {
  width: 43px;
  height: 43px;
  display: grid;
  margin-bottom: 10px;
  place-items: center;
  color: var(--blue-600);
  background: #eaf2ff;
  border-radius: 12px;
}

.upload-field__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.upload-field strong {
  color: #253956;
  font-size: 0.75rem;
  line-height: 1.65;
}

.upload-field small {
  margin-top: 4px;
  color: #8b97aa;
  font-size: 0.64rem;
}

.upload-field.has-file {
  background: #f0fbf6;
  border-color: var(--success);
}

.upload-field.has-file .upload-field__icon {
  color: var(--success);
  background: #dff6eb;
}

.upload-formats {
  margin: 10px 0 0;
  color: #8995a8;
  font-size: 0.66rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form-message {
  margin: 0;
  color: var(--danger);
  font-size: 0.75rem;
}

.button--submit {
  min-width: 210px;
  margin-right: auto;
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 12px 24px rgba(10, 92, 255, 0.2);
}

.success-banner {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 42px;
  color: #e8fff5;
  background:
    radial-gradient(circle at 0 0, rgba(109, 232, 179, 0.16), transparent 34%),
    #075638;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.success-banner[hidden] {
  display: none;
}

.success-banner__icon {
  width: 64px;
  height: 64px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #075638;
  background: #78e8b7;
  border-radius: 20px;
}

.success-banner__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
}

.success-banner span {
  color: #78e8b7;
  font-size: 0.78rem;
  font-weight: 800;
}

.success-banner h3 {
  margin: 3px 0 5px;
  color: var(--white);
  font-size: 1.6rem;
}

.success-banner p {
  margin: 0 0 13px;
  color: #c5ead9;
}

.success-banner strong {
  display: inline-block;
  padding: 5px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  direction: ltr;
  font-size: 0.82rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: #b7c6e1;
  background: var(--navy-950);
}

.site-footer__pattern {
  opacity: 0.1;
  mask-image: radial-gradient(circle at 10% 10%, #000 0 24%, transparent 60%);
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 80px;
  padding-block: 70px 55px;
}

.footer__brand img {
  width: 190px;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  max-width: 460px;
  margin: 22px 0 0;
  font-size: 0.83rem;
}

.footer__inner h3 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 12px;
  color: var(--white);
  font-size: 1rem;
}

.footer__inner h3::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  content: "";
  background: var(--blue-600);
  border-radius: 99px;
}

.footer__links,
.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
}

.footer__links h3,
.footer__contact h3 {
  align-self: stretch;
}

.footer__links a,
.footer__contact a {
  transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--white);
}

.footer__contact a {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 19px;
  color: #7f91b3;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.68rem;
}

.toast {
  position: fixed;
  z-index: 999;
  right: 50%;
  bottom: 26px;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 18px;
  color: var(--white);
  background: #102a5d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 0.78rem;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .header__inner {
    grid-template-columns: 190px 1fr 210px;
    gap: 16px;
  }

  .main-nav {
    gap: 22px;
    font-size: 0.85rem;
  }

  .hero__inner {
    gap: 45px;
  }

  .map-layout,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .document-card {
    align-self: stretch;
  }

  .form-aside {
    padding: 34px;
  }

  .form-aside ul {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-warning {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .topbar__inner {
    min-height: 36px;
    justify-content: center;
  }

  .topbar__item:first-child {
    display: none;
  }

  .header__inner {
    min-height: 74px;
    display: flex;
    justify-content: space-between;
  }

  .brand img {
    width: 160px;
  }

  .main-nav {
    display: none;
  }

  .header-contact small {
    display: none;
  }

  .header-contact__icon {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-block: 70px 145px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 10vw, 4rem);
  }

  .countdown-card {
    max-width: 560px;
  }

  .hero__summary {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__summary > div {
    min-height: 76px;
    padding: 10px 15px;
  }

  .hero__summary > div {
    flex-direction: column;
    gap: 0;
  }

  .section {
    padding-block: 82px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    top: 10%;
    right: 54px;
    bottom: 10%;
    left: auto;
    width: 2px;
    height: auto;
  }

  .timeline__item {
    display: grid;
    grid-template-columns: 66px 1fr;
    gap: 18px;
    align-items: start;
    padding-bottom: 0;
  }

  .timeline__number {
    border-radius: 0 0 20px 20px;
  }

  .timeline__content {
    padding: 24px 0 24px 18px;
  }

  .rules-card {
    grid-template-columns: 68px 1fr;
  }

  .rules-card__icon {
    width: 66px;
    height: 66px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-contact strong {
    display: none;
  }

  .hero__inner {
    padding-top: 54px;
  }

  .hero__copy > p {
    font-size: 0.94rem;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .countdown-card__body {
    padding-inline: 18px;
  }

  .countdown {
    gap: 4px;
  }

  .countdown i {
    font-size: 1.25rem;
  }

  .hero__summary > div {
    padding-inline: 5px;
  }

  .hero__summary strong {
    font-size: 1.1rem;
  }

  .hero__summary span {
    font-size: 0.66rem;
  }

  .section-heading {
    gap: 13px;
  }

  .section-heading__index {
    font-size: 2.25rem;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .map-panel {
    min-height: 0;
    padding: 16px 8px;
  }

  .map-panel__head {
    padding-inline: 8px;
  }

  .document-card,
  .rules-card,
  .tender-form,
  .form-aside {
    padding: 26px 20px;
  }

  .rules-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rules-card__icon {
    margin-inline: auto;
  }

  .rules-card .eyebrow {
    justify-content: center;
  }

  .form-aside ul {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .upload-grid {
    grid-template-columns: 1fr;
  }

  .upload-field {
    min-height: 145px;
  }

  .submission-status,
  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .submission-status__badge {
    align-self: flex-end;
  }

  .button--submit {
    width: 100%;
    margin: 0;
  }

  .success-banner {
    flex-direction: column;
    padding: 30px 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
