@font-face {
  font-family: "Vazirmatn";
  src: url("../vendor/google-fonts/files/va9B4kDNxMZdWfMOD5VnPKreRhf6.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #071a33;
  --muted: #52657a;
  --line: #d7e2ee;
  --paper: #ffffff;
  --surface: #ffffff;
  --navy: #071a33;
  --navy-2: #0d2a52;
  --navy-3: #143b70;
  --steel: #0d2a52;
  --blue: #0b3d74;
  --green: #0d2a52;
  --amber: #d7e8ff;
  --danger: #0d2a52;
  --shadow: 0 18px 46px rgba(7, 26, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #e2e8f0;
  background: #020817;
  font-family: "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

body.afra-en {
  font-family: "Space Grotesk", "Segoe UI", Tahoma, Arial, sans-serif;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  min-height: 100vh;
  color: #e2e8f0;
  background: #020817;
}

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

.section {
  padding: 108px 0;
  background: #020817;
}

.section.compact {
  padding: 56px 0;
}

.section.alt {
  background: #071a33;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 28px;
  margin-bottom: 34px;
  text-align: center;
}

.eyebrow {
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.12;
  margin: 0;
  max-width: 780px;
  color: #fff;
}

.section-lead {
  color: #cbd5e1;
  font-size: 1.04rem;
  line-height: 1.9;
  max-width: 740px;
  margin: 16px 0 0;
}

.section > .container > .section-title,
.section-header .section-title,
.section-header .section-lead {
  margin-inline: auto;
}

.section > .container > .section-title {
  text-align: center;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.nav {
  width: fit-content;
  max-width: calc(100% - 40px);
  height: 62px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 999px;
  background: rgba(2, 8, 23, 0.74);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  text-decoration: none;
  flex: 0 0 auto;
  width: 112px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.brand img {
  width: 92px;
  height: 36px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 0 1 auto;
  min-width: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 10px;
  color: #e2e8f0;
  background: transparent;
  border: 0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link::after {
  display: none;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: none;
}

.nav-item {
  position: relative;
}

.submenu-trigger i {
  font-size: 0.68rem;
}

.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  min-width: 178px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 8px;
  background: rgba(7, 26, 51, 0.96);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.16s ease;
}

[dir="rtl"] .sub-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

.has-submenu:hover .sub-menu,
.has-submenu:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu .nav-link {
  width: 100%;
  justify-content: flex-start;
  padding: 12px;
  border-radius: 8px;
}

[dir="rtl"] .sub-menu .nav-link {
  justify-content: flex-end;
}

.sub-menu .nav-link:hover,
.sub-menu .nav-link.active {
  background: rgba(255, 255, 255, 0.08);
}

.sub-menu .nav-link::after {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.nav-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 232, 240, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.cta,
.ghost-cta,
.small-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.cta {
  background: #fff;
  color: #071a33;
  box-shadow: 0 18px 45px rgba(255, 255, 255, 0.14);
}

.hero .cta,
.contact-band .cta {
  background: #fff;
  color: #071a33;
}

.cta {
  color: #071a33;
}

.cta:hover {
  background: #e2e8f0;
}

.ghost-cta {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(226, 232, 240, 0.2);
}

.small-link {
  min-height: 36px;
  padding-inline: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.14);
  font-size: 0.88rem;
}

.hero {
  position: relative;
  min-height: clamp(760px, 100vh, 980px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 14%, rgba(37, 99, 235, 0.28), transparent 28rem),
    linear-gradient(90deg, rgba(2, 8, 23, 0.92), rgba(2, 8, 23, 0.6) 48%, rgba(2, 8, 23, 0.18)),
    var(--hero-image) center / cover no-repeat;
}

[dir="rtl"] .hero {
  background:
    radial-gradient(circle at 18% 16%, rgba(37, 99, 235, 0.28), transparent 28rem),
    linear-gradient(90deg, rgba(2, 8, 23, 0.18), rgba(2, 8, 23, 0.6) 48%, rgba(2, 8, 23, 0.92)),
    var(--hero-image) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(0deg, #020817, rgba(2, 8, 23, 0));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: start;
  gap: 0;
  align-items: center;
  padding: 128px 0 170px;
}

[dir="rtl"] .hero-grid {
  justify-content: end;
  text-align: right;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: 0.98;
  color: #fff;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.52);
}

.hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: #cbd5e1;
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  line-height: 2;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.48);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-actions .ghost-cta {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(226, 232, 240, 0.2);
}

.hero-photo {
  display: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-badge {
  position: absolute;
  inset-inline: 22px auto;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(360px, calc(100% - 44px));
  padding: 12px 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(215, 226, 238, 0.95);
  border-radius: 8px;
}

[dir="rtl"] .hero-photo-badge {
  inset-inline: auto 22px;
}

.hero-photo-badge img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.hero-photo-badge strong,
.hero-photo-badge span {
  display: block;
  line-height: 1.35;
}

.hero-photo-badge span {
  color: var(--muted);
  font-size: 0.84rem;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 8px;
  background: rgba(226, 232, 240, 0.1);
  box-shadow: none;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.metric {
  padding: 28px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.metric strong {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.count-number {
  font-variant-numeric: tabular-nums;
}

.metric span {
  display: block;
  color: #cbd5e1;
  line-height: 1.65;
  margin-top: 10px;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 8px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.service-card {
  padding: 26px;
  min-height: 100%;
}

.service-card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 18px;
}

.mini-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 18px;
}

.service-card h3,
.product-card h3,
.project-card h3,
.person-card h3,
.book-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.45;
  color: #fff;
}

.service-card p,
.product-card p,
.project-card p,
.person-card p,
.book-card p,
.doc-card p {
  color: #cbd5e1;
  line-height: 1.85;
}

.media-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: 0;
}

.media-card .media {
  min-height: 280px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%),
    rgba(255, 255, 255, 0.03);
}

.media-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card .copy {
  padding: 34px;
}

.about-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform-origin: center;
  animation: aboutFloat 7s ease-in-out infinite;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: -1;
  background: conic-gradient(from 90deg, transparent, rgba(147, 197, 253, 0.22), transparent 34%);
  opacity: 0.7;
  animation: aboutGlow 10s linear infinite;
}

.about-card .media {
  overflow: hidden;
}

.about-card .media img {
  transform: scale(1.04);
  animation: aboutImageDrift 12s ease-in-out infinite alternate;
}

.about-card .copy {
  position: relative;
}

@keyframes aboutFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes aboutGlow {
  to {
    transform: rotate(1turn);
  }
}

@keyframes aboutImageDrift {
  from {
    transform: scale(1.04) translateX(-1.5%);
  }

  to {
    transform: scale(1.1) translateX(1.5%);
  }
}

.partner-rail {
  overflow: hidden;
  padding: 24px 0;
  direction: ltr;
}

.partner-track {
  display: flex;
  align-items: center;
  gap: clamp(42px, 6vw, 82px);
  width: max-content;
  animation: partnerScroll 30s linear infinite;
  will-change: transform;
}

.partner-rail:hover .partner-track,
.partner-rail:focus-within .partner-track {
  animation-play-state: paused;
}

.partner-logo {
  min-height: 98px;
  flex: 0 0 clamp(132px, 14vw, 178px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  transition: transform 0.18s ease, opacity 0.18s ease, filter 0.18s ease;
}

.partner-logo:hover,
.partner-logo:focus-visible {
  transform: translateY(-4px);
  filter: drop-shadow(0 16px 24px rgba(255, 255, 255, 0.16));
  opacity: 1;
  outline: none;
}

.partner-logo img {
  max-height: 74px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.88;
}

@keyframes partnerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.page-hero {
  position: relative;
  padding: 128px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.34), transparent 36rem),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08), transparent 18rem),
    #020817;
  border-bottom: 1px solid rgba(226, 232, 240, 0.1);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.5), transparent);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 38px;
  align-items: center;
  text-align: center;
}

.page-hero h1 {
  max-width: 940px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 6.3rem);
  line-height: 1.02;
  margin: 0;
}

.page-hero p {
  color: #cbd5e1;
  line-height: 2;
  font-size: 1.08rem;
  max-width: 760px;
  margin-inline: auto;
}

.page-visual {
  width: min(460px, 86vw);
  aspect-ratio: 1.2;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.page-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tag-row,
.action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card .product-image {
  height: 190px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%),
    rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(226, 232, 240, 0.1);
  padding: 18px;
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card .product-body,
.doc-card,
.project-body {
  padding: 22px;
}

.check-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 9px;
  color: #dbeafe;
  line-height: 1.8;
  margin: 8px 0;
}

[dir="rtl"] .check-list li {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.check-list i {
  color: #93c5fd;
  margin-top: 6px;
}

.doc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.doc-card .doc-type {
  align-self: start;
  color: #071a33;
  background: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 900;
}

.project-card .project-media {
  height: 220px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%),
    rgba(255, 255, 255, 0.03);
}

.project-card .project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card .project-body {
  display: grid;
  gap: 14px;
}

.people-section-title {
  margin: 38px 0 18px;
  font-size: 1.6rem;
  color: #fff;
}

.person-card {
  padding: 18px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

[dir="rtl"] .person-card {
  grid-template-columns: minmax(0, 1fr) 92px;
}

.person-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.person-card .role {
  color: #93c5fd;
  margin: 6px 0 2px;
  font-weight: 800;
}

.certificate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.certificate-stage {
  min-height: 620px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.certificate-stage img {
  max-height: 760px;
  object-fit: contain;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.certificate-list {
  display: grid;
  gap: 10px;
}

.cert-button {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  text-align: start;
  color: #e2e8f0;
  border: 1px solid rgba(226, 232, 240, 0.14);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
}

.cert-button.active {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.16);
}

.cert-button img {
  width: 64px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
}

.workshop-card,
.book-card,
.career-card,
.catalog-card {
  padding: 24px;
}

.workshop-card .status {
  color: #071a33;
  background: #fff;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 900;
}

.book-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
}

.paper-list {
  columns: 2;
  column-gap: 28px;
}

.paper-item {
  break-inside: avoid;
  padding: 14px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.14);
}

.paper-item strong {
  display: block;
  line-height: 1.55;
}

.paper-item span {
  display: block;
  color: #cbd5e1;
  line-height: 1.7;
  margin-top: 5px;
}

.contact-band {
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.24), transparent 28rem),
    #071a33;
  color: #fff;
  border-top: 1px solid rgba(226, 232, 240, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 30px;
}

.contact-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.contact-card p,
.footer p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
}

.contact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-list i {
  color: #d7e8ff;
  margin-top: 6px;
}

.location-picker {
  margin-top: 26px;
}

.location-picker h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.08rem;
}

.location-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.location-option {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 82px;
  padding: 12px;
  color: #e2e8f0;
  text-align: start;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.location-option:hover,
.location-option:focus-visible,
.location-option.active {
  transform: translateY(-3px);
  border-color: var(--location-color);
  background: rgba(255, 255, 255, 0.08);
  background: color-mix(in srgb, var(--location-color) 18%, rgba(255, 255, 255, 0.06));
  outline: none;
}

.location-option[aria-expanded="true"] {
  box-shadow: inset 0 0 0 1px var(--location-color), 0 18px 34px rgba(2, 8, 23, 0.22);
}

.location-pin {
  width: 38px;
  height: 38px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #071a33;
  background: var(--location-color, #93c5fd);
  border-radius: 999px;
}

.location-copy {
  display: grid;
  gap: 4px;
}

.location-copy strong {
  color: #fff;
  line-height: 1.35;
}

.location-copy small {
  color: #cbd5e1;
  line-height: 1.45;
}

.location-detail-card {
  position: relative;
  margin-top: 14px;
  padding: 18px 54px 18px 18px;
  overflow: hidden;
  border: 1px solid var(--location-color);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--location-color) 18%, rgba(255, 255, 255, 0.08)), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.28);
  animation: locationDetailIn 0.24s ease both;
}

[dir="rtl"] .location-detail-card {
  padding: 18px 18px 18px 54px;
}

.location-detail-card::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: var(--location-color);
}

.location-detail-card .eyebrow {
  margin: 0 0 8px;
  color: var(--location-color);
}

.location-detail-card h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.18rem;
}

.location-detail-card strong {
  display: block;
  color: #dbeafe;
  margin-bottom: 10px;
}

.location-detail-card p {
  margin: 0 0 14px;
  color: #d8e5f6;
  line-height: 1.85;
}

.location-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.location-detail-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  color: #eaf6ff;
  text-decoration: none;
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: 8px;
  background: rgba(2, 8, 23, 0.28);
}

.location-detail-meta a:hover,
.location-detail-meta a:focus-visible {
  color: #071a33;
  background: var(--location-color);
  outline: none;
}

.location-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-provider-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  color: #f8fbff;
  text-decoration: none;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.map-provider-link:hover,
.map-provider-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--location-color);
  background: color-mix(in srgb, var(--location-color) 28%, rgba(255, 255, 255, 0.08));
  outline: none;
}

.location-detail-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #dbeafe;
  border: 1px solid rgba(226, 232, 240, 0.22);
  border-radius: 999px;
  background: rgba(2, 8, 23, 0.32);
  cursor: pointer;
}

.location-detail-close:hover,
.location-detail-close:focus-visible {
  color: #071a33;
  background: var(--location-color);
  outline: none;
}

@keyframes locationDetailIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-panel {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.map-frame {
  min-height: 480px;
  border: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  filter: grayscale(0.25);
}

.selected-location {
  position: absolute;
  inset-inline: 18px;
  bottom: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: min(560px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 8px;
  background: rgba(2, 8, 23, 0.84);
  backdrop-filter: blur(18px);
}

.selected-location strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.selected-location p {
  margin: 0 0 12px;
  color: #cbd5e1;
  line-height: 1.75;
}

.footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #041225;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.mobile-menu {
  display: none;
}

.error-box {
  padding: 120px 0;
  text-align: center;
}

.page-products {
  color: #e2e8f0;
  background: #020817;
}

.page-products .page-hero {
  position: relative;
  padding: 128px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.34), transparent 36rem),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08), transparent 18rem),
    #020817;
  border-bottom: 1px solid rgba(226, 232, 240, 0.1);
}

.page-products .page-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.5), transparent);
}

.page-products .page-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  gap: 38px;
}

.page-products .page-hero h1 {
  max-width: 940px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 6.3rem);
}

.page-products .page-hero p {
  max-width: 760px;
  color: #cbd5e1;
  margin-inline: auto;
}

.page-products .page-visual {
  width: min(460px, 86vw);
  aspect-ratio: 1.3;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(226, 232, 240, 0.14);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.page-products .tag-row,
.page-products .action-row {
  justify-content: center;
}

.page-products .tag {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(226, 232, 240, 0.14);
}

.page-products .page-hero .cta {
  background: #fff;
  color: #071a33;
  box-shadow: 0 18px 45px rgba(255, 255, 255, 0.14);
}

.page-products .page-hero .ghost-cta {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(226, 232, 240, 0.2);
}

.page-products .section {
  padding: 108px 0;
  background: #020817;
}

.page-products .section.alt {
  background: #071a33;
}

.page-products .section-title,
.page-products .people-section-title {
  color: #fff;
}

.page-products .section > .container > .section-title,
.page-products .section-header {
  justify-content: center;
  text-align: center;
}

.page-products .section > .container > .section-title,
.page-products .section-header .section-title,
.page-products .section-header .section-lead {
  margin-inline: auto;
}

.page-products .section-lead,
.page-products .product-card p,
.page-products .doc-card p,
.page-products .service-card p,
.page-products .media-card .copy p {
  color: #cbd5e1;
}

.page-products .card,
.page-products .product-card,
.page-products .doc-card,
.page-products .service-card,
.page-products .media-card {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(226, 232, 240, 0.14);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.page-products .product-card h3,
.page-products .doc-card h3,
.page-products .service-card h3 {
  color: #fff;
}

.page-products .product-card .product-image {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%),
    rgba(255, 255, 255, 0.03);
  border-bottom-color: rgba(226, 232, 240, 0.1);
}

.page-products .product-card {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.page-products .grid.three .product-card:last-child {
  grid-column: 2;
}

.page-products .product-card:hover,
.page-products .doc-card:hover,
.page-products .service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.page-products .check-list li {
  color: #dbeafe;
}

.page-products .check-list i {
  color: #93c5fd;
}

.page-products .doc-card .doc-type {
  color: #071a33;
  background: #fff;
}

.page-products .small-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.14);
}

.page-products .media-card .media {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%),
    rgba(255, 255, 255, 0.03);
}

.page-products .media-card .copy {
  display: grid;
  align-content: center;
}

.page-products .media-card .cta {
  width: fit-content;
  background: #fff;
  color: #071a33;
}

.page-products .contact-band {
  border-top: 1px solid rgba(226, 232, 240, 0.1);
}

@media (max-width: 1080px) {
  .nav {
    gap: 7px;
    padding-inline: 8px;
  }

  .brand {
    width: 92px;
    height: 40px;
    padding-inline: 8px;
  }

  .brand img {
    width: 76px;
    height: 30px;
  }

  .nav-link {
    padding-inline: 6px;
    font-size: 0.76rem;
  }

  .icon-button,
  .nav-toggle {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: grid;
    gap: 6px;
    padding: 0 0 18px;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu .nav-link {
    border-radius: 8px;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.14);
    padding: 14px;
  }

  .mobile-menu .nav-link:hover,
  .mobile-menu .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }

  .mobile-menu .nav-item {
    display: grid;
    gap: 6px;
  }

  .mobile-menu .submenu-trigger {
    pointer-events: none;
  }

  .mobile-menu .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    min-width: 0;
    padding: 0 12px 0 0;
    border: 0;
    background: transparent;
  }

  [dir="ltr"] .mobile-menu .sub-menu {
    padding: 0 0 0 12px;
  }

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

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 58px 0;
  }

  .nav {
    height: 58px;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    display: none;
  }

  .nav-actions .cta {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-grid,
  .page-hero-grid,
  .media-card,
  .contact-grid,
  .certificate-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 96px 0 130px;
  }

  .hero-photo {
    display: none;
  }

  .metric-strip,
  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .page-products .grid.three .product-card:last-child {
    grid-column: auto;
  }

  .metric-strip {
    margin-top: -34px;
  }

  .section-header {
    display: block;
  }

  .location-options {
    grid-template-columns: 1fr;
  }

  .map-panel,
  .map-frame {
    min-height: 420px;
  }

  .certificate-stage {
    min-height: auto;
  }

  .paper-list {
    columns: 1;
  }

  .footer-row {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-card,
  .about-card::before,
  .about-card .media img,
  .partner-track,
  .location-detail-card {
    animation: none;
  }

  .partner-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .partner-logo[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand strong {
    font-size: 0.92rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.4rem, 14vw, 4.1rem);
  }

  .hero-actions,
  .action-row {
    display: grid;
  }

  .person-card,
  [dir="rtl"] .person-card,
  .cert-button {
    grid-template-columns: 1fr;
  }

  .person-card img {
    width: 100%;
    height: 210px;
  }
}
