.spct {
  --spct-primary: #000f59;
  --spct-accent: #ff7614;
  --spct-bg: #f8f8f8;
  --spct-surface: #fff;
  --spct-text: #111827;
  --spct-muted: #64748b;
  --spct-border: #e5e7eb;
  --spct-font: var(--sptm-font, "YekanBakh", "yekanbakh", "IRANYekanX", "Vazirmatn", Tahoma, sans-serif);
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: clamp(66px, 8vw, 112px) 20px;
  color: var(--spct-text);
  background: var(--spct-bg);
  font-family: var(--spct-font) !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

.spct,
.spct *,
.spct *::before,
.spct *::after {
  box-sizing: border-box;
}

.spct *,
.spct button,
.spct input {
  font-family: var(--spct-font) !important;
}

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

.spct__container {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.spct__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.spct__ambient i {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  filter: blur(1px);
}

.spct__ambient i:nth-child(1) {
  top: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, color-mix(in srgb, var(--spct-primary) 7%, transparent), transparent 68%);
}

.spct__ambient i:nth-child(2) {
  top: 350px;
  left: -180px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, color-mix(in srgb, var(--spct-accent) 6%, transparent), transparent 68%);
}

.spct__ambient i:nth-child(3) {
  top: 40px;
  right: 50%;
  width: 1px;
  height: 210px;
  border-radius: 0;
  background: linear-gradient(transparent, rgba(0, 15, 89, 0.11), transparent);
}

.spct-hero {
  max-width: 820px;
  margin: 0 auto clamp(62px, 8vw, 104px);
  text-align: center;
}

.spct-eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: var(--spct-primary);
  font-size: 12px;
  font-weight: var(--sptm-w-semibold, 600);
}

.spct-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spct-accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--spct-accent) 11%, transparent);
}

.spct-hero h1,
.spct-hero h2 {
  margin: 0;
  color: var(--spct-text);
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: var(--sptm-w-heading, 800);
  line-height: 1.3;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.spct-hero__text {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--spct-muted);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 2;
  text-wrap: pretty;
}

.spct-quick {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 29px;
}

.spct-quick a {
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid color-mix(in srgb, var(--spct-primary) 9%, var(--spct-border));
  border-radius: 15px;
  color: var(--spct-primary);
  background: color-mix(in srgb, var(--spct-surface) 94%, transparent);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
  text-align: right;
  text-decoration: none;
  transition: border-color 200ms ease, box-shadow 220ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.spct-quick a:hover {
  border-color: color-mix(in srgb, var(--spct-primary) 22%, var(--spct-border));
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.065);
  transform: translateY(-2px);
}

.spct-quick a > svg {
  width: 39px;
  height: 39px;
  padding: 9px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--spct-primary) 6%, var(--spct-surface));
}

.spct-quick span,
.spct-quick small,
.spct-quick b {
  display: block;
}

.spct-quick small {
  margin-bottom: 2px;
  color: var(--spct-muted);
  font-size: 10px;
  font-weight: var(--sptm-w-regular, 400);
}

.spct-quick b {
  color: var(--spct-text);
  font-size: 12px;
  font-weight: var(--sptm-w-semibold, 600);
}

.spct-offices,
.spct-departments {
  margin-top: clamp(65px, 9vw, 110px);
}

.spct-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.spct-section-head h2 {
  margin: 0;
  color: var(--spct-text);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: var(--sptm-w-heading, 750);
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.spct-section-head p {
  max-width: 560px;
  margin: 6px 0 0;
  color: var(--spct-muted);
  font-size: 13px;
  line-height: 1.9;
}

.spct-section-head--center {
  display: block;
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.spct-office-tabs {
  position: relative;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--spct-primary) 9%, var(--spct-border));
  border-radius: 14px;
  background: color-mix(in srgb, var(--spct-surface) 94%, transparent);
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.03);
  isolation: isolate;
}

.spct .spct-office-tabs button {
  position: relative;
  z-index: 2;
  min-width: 108px !important;
  min-height: 42px !important;
  flex: 1;
  margin: 0 !important;
  padding: 7px 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #667085 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: var(--sptm-w-semibold, 600) !important;
  cursor: pointer;
  transition: color 200ms ease;
}

.spct .spct-office-tabs button[aria-selected="true"] {
  color: var(--spct-primary) !important;
}

.spct-office-tabs__indicator {
  position: absolute;
  z-index: 1;
  top: 4px;
  right: 4px;
  width: calc((100% - 8px) / var(--spct-tabs, 2));
  height: calc(100% - 8px);
  border: 1px solid color-mix(in srgb, var(--spct-primary) 9%, transparent);
  border-radius: 10px;
  background: var(--spct-surface);
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.055);
  transform: translateX(calc(var(--spct-index, 0) * -100%));
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), width 250ms ease;
}

.spct-office-stage {
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.35fr);
  gap: 15px;
  padding: 15px;
  border: 1px solid color-mix(in srgb, var(--spct-primary) 8%, var(--spct-border));
  border-radius: 30px;
  background: color-mix(in srgb, var(--spct-surface) 94%, transparent);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.06);
}

.spct-office-details,
.spct-office-visual {
  position: relative;
  min-width: 0;
  min-height: 478px;
}

.spct-office-panel {
  position: relative;
  height: 100%;
  padding: clamp(27px, 4vw, 46px);
  overflow: hidden;
  border-radius: 21px;
  background: color-mix(in srgb, var(--spct-primary) 3.2%, var(--spct-surface));
  opacity: 0;
  transform: translateY(7px);
}

.spct-office-panel.is-active {
  opacity: 1;
  transform: none;
  animation: spctPanelIn 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.spct-office-panel__number {
  position: absolute;
  top: 24px;
  left: 26px;
  color: color-mix(in srgb, var(--spct-primary) 12%, transparent);
  font-family: Arial, sans-serif !important;
  font-size: 74px;
  font-weight: 700;
  line-height: 1;
}

.spct-office-panel__label {
  margin: 0 0 5px;
  color: var(--spct-accent);
  font-size: 10px;
  font-weight: var(--sptm-w-semibold, 600);
}

.spct-office-panel h3 {
  margin: 0;
  color: var(--spct-primary);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: var(--sptm-w-heading, 750);
  line-height: 1.5;
}

.spct-office-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 25px;
}

.spct-office-line > svg {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  padding: 8px;
  border-radius: 10px;
  color: var(--spct-primary);
  background: var(--spct-surface);
}

.spct-office-line p {
  margin: 2px 0 0;
  color: #3b465c;
  font-size: 13px;
  line-height: 2;
  text-align: justify;
}

.spct-office-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 24px;
}

.spct-office-contact {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--spct-primary) 7%, var(--spct-border));
  border-radius: 12px;
  background: color-mix(in srgb, var(--spct-surface) 88%, transparent);
}

.spct-office-contact > svg {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  padding: 6px;
  border-radius: 8px;
  color: var(--spct-primary);
  background: color-mix(in srgb, var(--spct-primary) 5%, var(--spct-surface));
}

.spct-office-contact span,
.spct-office-contact small,
.spct-office-contact b,
.spct-office-contact a {
  min-width: 0;
  display: block;
}

.spct-office-contact small {
  color: var(--spct-muted);
  font-size: 9px;
}

.spct-office-contact b,
.spct-office-contact a {
  overflow: hidden;
  margin-top: 2px;
  color: #273248;
  font-size: 10px;
  font-weight: var(--sptm-w-semibold, 600);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spct-directions {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--spct-primary);
  font-size: 11px;
  font-weight: var(--sptm-w-bold, 700);
  text-decoration: none;
}

.spct-directions svg {
  width: 17px;
  height: 17px;
  transition: transform 200ms ease;
}

.spct-directions:hover svg {
  transform: translateX(-3px);
}

.spct-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 478px;
  overflow: hidden;
  border-radius: 21px;
  background: #eef0f3;
  opacity: 0;
}

.spct-map.is-active {
  opacity: 1;
  animation: spctMapIn 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.spct-map iframe,
.spct-map > img {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.97);
}

.spct-map__empty {
  height: 100%;
  min-height: 478px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #7b8495;
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(0, 15, 89, 0.035) 18px 19px);
  font-size: 11px;
  text-align: center;
}

.spct-map__empty svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 15px;
  color: var(--spct-primary);
  background: #fff;
  box-shadow: 0 9px 24px rgba(15, 23, 42, 0.06);
}

.spct-map__caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  color: var(--spct-primary);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  font-size: 10px;
  font-weight: var(--sptm-w-semibold, 600);
}

.spct-map__caption i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spct-accent);
}

.spct-department-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.spct-department-card {
  min-width: 0;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--spct-primary) 8%, var(--spct-border));
  border-radius: 22px;
  background: color-mix(in srgb, var(--spct-surface) 96%, transparent);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.035);
  transition: border-color 220ms ease, box-shadow 280ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.spct-department-card:hover {
  border-color: color-mix(in srgb, var(--spct-primary) 17%, var(--spct-border));
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.07);
  transform: translateY(-4px);
}

.spct-department-card__visual {
  height: 95px;
  display: grid;
  place-items: center;
  padding: 18px 20px 0;
}

.spct-department-card.has-image .spct-department-card__visual {
  height: 165px;
  padding: 10px 10px 0;
}

.spct-department-card__visual > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--spct-primary);
  background: color-mix(in srgb, var(--spct-primary) 5.5%, var(--spct-surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--spct-primary) 5%, transparent);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.spct-department-card:hover .spct-department-card__visual > span {
  transform: translateY(-2px) scale(1.03);
}

.spct-department-card__visual > span svg {
  width: 27px;
  height: 27px;
}

.spct-department-card__visual > img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 15px;
  object-fit: cover;
}

.spct-department-card__body {
  padding: 17px 21px 22px;
}

.spct-department-card h3 {
  margin: 0;
  color: var(--spct-primary);
  font-size: 17px;
  font-weight: var(--sptm-w-heading, 700);
  line-height: 1.6;
}

.spct-department-card__body > p {
  min-height: 45px;
  margin: 5px 0 0;
  color: var(--spct-muted);
  font-size: 11px;
  line-height: 1.9;
}

.spct-department-card__links {
  display: grid;
  gap: 7px;
  margin-top: 17px;
}

.spct-department-card__links a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #414d63;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.spct-department-card__links a:hover {
  color: var(--spct-primary);
  transform: translateX(-2px);
}

.spct-department-card__links svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: var(--spct-accent);
}

.spct-department-card__links span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spct-cta {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: clamp(72px, 10vw, 125px);
  padding: clamp(34px, 5vw, 58px);
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  background: var(--spct-primary);
  box-shadow: 0 28px 65px color-mix(in srgb, var(--spct-primary) 20%, transparent);
  isolation: isolate;
}

.spct-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 9% 110%, color-mix(in srgb, var(--spct-accent) 28%, transparent), transparent 33%),
    linear-gradient(110deg, transparent 45%, rgba(255, 255, 255, 0.035));
}

.spct-cta > div {
  max-width: 680px;
}

.spct-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3.5vw, 40px);
  font-weight: var(--sptm-w-heading, 750);
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.spct-cta p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.9;
}

.spct-cta > a {
  min-width: 155px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 14px;
  color: var(--spct-primary);
  background: #fff;
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.12);
  font-size: 12px;
  font-weight: var(--sptm-w-bold, 700);
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 220ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.spct-cta > a:hover {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.17);
  transform: translateY(-2px);
}

.spct-cta > a svg {
  width: 17px;
  height: 17px;
}

.spct-cta__orbit {
  position: absolute;
  z-index: -1;
  top: -95px;
  left: 11%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: spctOrbit 12s linear infinite;
}

.spct-cta__orbit i {
  position: absolute;
  top: 50%;
  right: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--spct-primary);
  border-radius: 50%;
  background: var(--spct-accent);
}

[data-spct-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease var(--spct-delay, 0ms), transform 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--spct-delay, 0ms);
}

[data-spct-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes spctPanelIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

@keyframes spctMapIn {
  from { opacity: 0; transform: scale(0.992); }
  to { opacity: 1; transform: none; }
}

@keyframes spctOrbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .spct-office-stage {
    grid-template-columns: 1fr;
  }

  .spct-office-details,
  .spct-office-visual,
  .spct-map,
  .spct-map__empty {
    min-height: 430px;
  }

  .spct-department-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .spct {
    padding: 54px 12px 72px;
  }

  .spct-hero {
    margin-bottom: 68px;
  }

  .spct-hero h1,
  .spct-hero h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .spct-quick {
    display: grid;
    grid-template-columns: 1fr;
  }

  .spct-quick a {
    min-width: 0;
  }

  .spct-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .spct-office-tabs {
    min-width: 0;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .spct-office-tabs::-webkit-scrollbar {
    display: none;
  }

  .spct-office-tabs__indicator {
    display: none;
  }

  .spct .spct-office-tabs button[aria-selected="true"] {
    background: color-mix(in srgb, var(--spct-primary) 6%, var(--spct-surface)) !important;
  }

  .spct-office-stage {
    min-height: 0;
    padding: 8px;
    border-radius: 24px;
  }

  .spct-office-details,
  .spct-office-visual {
    min-height: 0;
  }

  .spct-office-panel {
    min-height: 430px;
    padding: 26px 20px;
    border-radius: 18px;
  }

  .spct-office-panel__number {
    top: 20px;
    left: 20px;
    font-size: 58px;
  }

  .spct-map,
  .spct-map__empty {
    min-height: 340px;
    border-radius: 18px;
  }

  .spct-department-grid {
    grid-template-columns: 1fr;
  }

  .spct-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 31px 24px;
    border-radius: 24px;
  }

  .spct-cta > a {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .spct-office-contact-grid {
    grid-template-columns: 1fr;
  }

  .spct-office-panel {
    min-height: 500px;
  }
}

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



/* v1.1.0 - hide the office map box entirely when no map/image is set */
.spct-map:not(:has(iframe)):not(:has(img)) {
	display: none;
}
