@font-face {
  font-family: "Vazirmatn";
  src: url("./fonts/Vazirmatn-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Readex Pro";
  src: url("./fonts/Readexpro-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --font-ui: "Vazirmatn", Tahoma, sans-serif;
  --font-display: "Readex Pro", "Vazirmatn", sans-serif;
  --font-title: "Vazirmatn", "Readex Pro", Tahoma, sans-serif;
  --font-brand-title: "Readex Pro", "Vazirmatn", "Segoe UI", sans-serif;
  --font-latin: "Readex Pro", "Segoe UI", sans-serif;
  --bg: #edf2f7;
  --bg-soft: #dce4ea;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --surface: #ffffff;
  --surface-2: #f4f7fb;
  --surface-dark: #12263f;
  --surface-dark-2: #1f395b;
  --line: rgba(18, 38, 63, 0.12);
  --line-strong: rgba(18, 38, 63, 0.22);
  --text: #121c28;
  --muted: #667683;
  --accent: #023bff;
  --accent-2: #6b7d88;
  --accent-3: #eaf0ff;
  --nav-surface:
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(240, 245, 252, 0.42));
  --nav-surface-strong:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(234, 241, 251, 0.56));
  --nav-border: rgba(255, 255, 255, 0.58);
  --nav-shadow:
    0 18px 38px rgba(17, 33, 52, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 60px rgba(17, 33, 52, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-ui);
  background:
    radial-gradient(circle at top right, rgba(2, 59, 255, 0.09), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #edf2f7 42%, #e3eaef 100%);
  color: var(--text);
}

body,
button,
input,
select,
textarea {
  font-feature-settings: "kern" 1, "liga" 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 28, 40, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 28, 40, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.section {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  width: min(1180px, calc(100vw - 40px));
  margin: 18px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: 14px;
  z-index: 10;
  overflow: visible;
  isolation: isolate;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(720px, calc(100% - 120px));
  height: 86px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(2, 59, 255, 0.18), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.56), transparent 72%);
  filter: blur(20px);
  opacity: 0.95;
  z-index: -1;
}

.site-header::after {
  content: none;
}

.brand,
.main-nav,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--nav-surface);
  border: 1px solid var(--nav-border);
  box-shadow: var(--nav-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  backdrop-filter: blur(22px) saturate(175%);
}

.brand {
  justify-content: center;
  flex: 0 0 auto;
  padding: 12px 18px;
  border-radius: 30px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.brand-mark {
  width: clamp(92px, 10vw, 128px);
  height: auto;
  max-height: 112px;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: 0;
  filter: drop-shadow(0 12px 24px rgba(17, 33, 52, 0.12));
}

.main-nav {
  display: flex;
  flex: 0 1 auto;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  width: auto;
  min-width: 0;
  max-width: min(100%, 760px);
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 999px;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(2, 59, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.main-nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(2, 59, 255, 0.1);
  border-color: rgba(2, 59, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.header-cta {
  min-height: 54px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  background: linear-gradient(135deg, rgba(2, 59, 255, 0.96), rgba(37, 112, 255, 0.82));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 20px 36px rgba(2, 59, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible,
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  min-width: 58px;
  min-height: 58px;
  padding: 0 20px;
  border-radius: 22px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  position: relative;
  text-align: center;
  line-height: 1.1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.nav-toggle::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow:
    0 -6px 0 currentColor,
    0 6px 0 currentColor;
}

.nav-toggle-label {
  display: block;
  text-align: center;
}

.brand:hover,
.brand:focus-visible,
.header-cta:hover,
.header-cta:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-2px);
}

.brand:hover,
.brand:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible {
  box-shadow:
    0 22px 44px rgba(17, 33, 52, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}

.hero {
  padding: 98px 0 42px;
  display: block;
}

.page-hero {
  padding-bottom: 34px;
}

.hero-copy {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--font-display);
  letter-spacing: 0.015em;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-title);
  line-height: 1.24;
  font-weight: 780;
  letter-spacing: 0;
  text-align: center;
  text-align-last: auto;
  text-rendering: optimizeLegibility;
  text-wrap: balance;
}

.hero h1 {
  font-family: var(--font-brand-title);
  font-size: clamp(2.65rem, 4vw, 4.95rem);
  width: 100%;
  max-width: none;
  font-weight: 720;
  letter-spacing: 0;
  margin-inline: auto;
  line-height: 1.04;
}

.hero-text,
.split-copy p,
.service-card p,
.industry-card p,
.timeline-step p,
.proof-card p,
.contact-copy p,
.advantage-card p {
  color: var(--muted);
  line-height: 1.9;
}

.hero-text {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: 1.08rem;
  margin-inline: auto;
}

.page-summary {
  max-width: 64ch;
  margin: 24px auto 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.08rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 700px);
  margin-top: 26px;
  margin-inline: auto;
  justify-content: center;
  text-align: center;
}

.hero-facts div {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 38, 63, 0.08);
}

.hero-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.hero-facts strong {
  display: block;
  line-height: 1.7;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
}

.btn {
  min-height: 52px;
  padding: 0 24px;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, #023bff, #235dff);
  color: #ffffff;
  border-color: rgba(2, 59, 255, 0.18);
  box-shadow: 0 16px 34px rgba(2, 59, 255, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  border-color: rgba(18, 38, 63, 0.12);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  justify-content: center;
}

.hero-tags li {
  padding: 9px 14px;
  border: 1px solid rgba(18, 38, 63, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
}

.intro-video {
  padding: 14px 0 10px;
}

.intro-video-shell {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(2, 59, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 252, 0.96));
  border: 1px solid rgba(18, 38, 63, 0.1);
  box-shadow: var(--shadow);
}

.intro-video-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #16263c, #0d1523);
  box-shadow: 0 22px 46px rgba(17, 33, 52, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  aspect-ratio: 100 / 57;
  justify-self: start;
}

.intro-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.intro-video-copy {
  display: grid;
  gap: 14px;
  max-width: 68ch;
}

.intro-video-copy .eyebrow {
  font-family: var(--font-ui);
  font-weight: 500;
}

.intro-video-copy h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.28;
  font-weight: 740;
  text-wrap: balance;
}

.intro-video-copy > :last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.contact-points span {
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 700;
}

.proof-card,
.service-card,
.industry-card,
.timeline-step,
.advantage-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}

.proof-card span,
.service-number,
.timeline-step span {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
}

.proof-grid {
  width: var(--container);
  margin: 0 auto;
  padding: 10px 0 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.proof-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.96));
}

.proof-card::before,
.service-card::before,
.industry-card::before,
.timeline-step::before,
.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(138, 153, 159, 0.22));
  border-radius: 999px;
}

.proof-card h2,
.service-card h3,
.industry-card h3,
.timeline-step h3,
.advantage-card h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.22rem;
  font-weight: 740;
  line-height: 1.55;
  text-align: right;
  text-wrap: balance;
}

.certificate-section {
  position: relative;
  margin-top: 54px;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 8% 12%, rgba(2, 59, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.96));
  border: 1px solid rgba(18, 38, 63, 0.1);
  box-shadow: var(--shadow);
}

.certificate-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 34px;
  width: 84px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(138, 153, 159, 0.24));
  border-radius: 999px;
}

.certificate-copy {
  max-width: 62ch;
}

.certificate-copy h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 780;
  line-height: 1.28;
  text-wrap: balance;
}

.certificate-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 2;
}

.certificate-copy .btn {
  margin-top: 22px;
}

.certificate-preview {
  width: min(100%, 340px);
  justify-self: end;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(18, 38, 63, 0.12);
  box-shadow: 0 20px 48px rgba(17, 33, 52, 0.14);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.certificate-preview:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 58px rgba(17, 33, 52, 0.18);
}

.certificate-preview img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(18, 38, 63, 0.08);
}

.section-heading {
  margin-bottom: 30px;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  width: 100%;
  max-width: none;
  letter-spacing: 0;
  line-height: 1.28;
  margin-inline: auto;
}

.section-split,
#services,
.industry-section,
#process,
.contact-section {
  padding: 96px 0 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px;
}

.split-copy {
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.96));
  border: 1px solid rgba(18, 38, 63, 0.1);
  box-shadow: var(--shadow);
}

.split-copy p {
  margin: 0;
}

.split-copy p + p {
  margin-top: 18px;
}

.split-copy-image {
  display: block;
  width: 100%;
  margin-top: 24px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(17, 33, 52, 0.12);
  border: 1px solid rgba(18, 38, 63, 0.08);
}

.advantage-stack {
  display: grid;
  gap: 16px;
}

.service-grid,
.industry-grid,
.timeline {
  display: grid;
  gap: 18px;
}

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

.service-card ul {
  margin: 18px 0 0;
  padding: 0 18px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.service-card li + li {
  margin-top: 6px;
}

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

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

.timeline-step {
  overflow: hidden;
}

.timeline-step span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: rgba(2, 59, 255, 0.1);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 24px;
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(2, 59, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #1c3556, #101d31);
  border: 1px solid rgba(18, 38, 63, 0.12);
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 780;
  max-width: 12ch;
  line-height: 1.28;
  color: #f6f9ff;
  text-wrap: balance;
}

.contact-copy > p {
  margin: 18px 0 0;
  color: rgba(232, 238, 247, 0.8);
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-points div {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-points strong {
  display: block;
  margin-top: 6px;
  line-height: 1.8;
  color: #f6f9ff;
}

.contact-points a {
  color: inherit;
  direction: ltr;
  unicode-bidi: isolate;
}

.company-contact-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.company-contact-item {
  display: grid;
  grid-template-columns: minmax(72px, max-content) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f6f9ff;
  font-style: normal;
}

a.company-contact-item {
  transition:
    background 180ms ease,
    transform 180ms ease;
}

a.company-contact-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.company-contact-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(232, 238, 247, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
}

.company-contact-item strong {
  min-width: 0;
  line-height: 1.8;
  font-weight: 800;
  overflow-wrap: break-word;
}

.company-contact-item strong[dir="ltr"] {
  justify-self: start;
  direction: ltr;
  unicode-bidi: isolate;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--surface-dark);
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(18, 38, 63, 0.12);
  border-radius: 16px;
  background: #fbfdff;
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #80909e;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(2, 59, 255, 0.42);
  box-shadow: 0 0 0 3px rgba(2, 59, 255, 0.12);
}

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

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.8;
}

.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  min-height: 2.8em;
}

.form-note.is-success {
  color: var(--accent-2);
}

.form-note.is-error {
  color: #b42318;
}

.site-footer {
  width: var(--container);
  margin: 42px auto 0;
  padding: 24px 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
  color: var(--muted);
  border-top: 1px solid rgba(18, 38, 63, 0.08);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  color: var(--surface-dark);
  font-weight: 800;
}

.footer-brand-mark {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: 4px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(18, 38, 63, 0.12);
}

.footer-brand-copy {
  font-family: var(--font-latin);
  letter-spacing: 0.06em;
}

.site-footer p {
  margin: 0;
}

.footer-contact {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: minmax(180px, max-content) minmax(280px, 1fr);
  align-items: stretch;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(18, 38, 63, 0.08);
  line-height: 1.8;
}

.footer-contact address,
.footer-contact-item {
  margin: 0;
  font-style: normal;
}

.footer-contact-item span {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 800;
}

.footer-contact-item strong {
  min-width: 0;
  color: var(--surface-dark);
  font-weight: 700;
  overflow-wrap: break-word;
}

.footer-contact-item strong[dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
}

.site-footer a {
  color: var(--surface-dark);
  font-weight: 700;
}

.people-layout {
  width: var(--container);
  margin: 0 auto;
  padding-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 24px;
}

.people-layout + .section,
#leadership + .section,
#culture + .contact-section {
  padding-top: 72px;
}

#leadership .section-heading,
#culture .section-heading {
  margin-bottom: 24px;
}

.people-note,
.team-card,
.culture-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}

.people-note {
  box-shadow: var(--shadow);
}

.people-note::before,
.team-card::before,
.culture-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(138, 153, 159, 0.22));
  border-radius: 999px;
}

.people-note strong,
.team-card h3,
.culture-card h3 {
  display: block;
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.22rem;
  font-weight: 740;
  line-height: 1.55;
  text-wrap: balance;
}

.people-note p,
.team-card p,
.culture-card p {
  color: var(--muted);
  line-height: 1.9;
}

.people-note p {
  margin: 14px 0 0;
}

.people-note ul,
.team-list {
  margin: 18px 0 0;
  padding: 0 18px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.people-note li + li,
.team-list li + li {
  margin-top: 6px;
}

.section-lead {
  max-width: 64ch;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.9;
  text-align: center;
}

.team-grid,
.culture-grid {
  display: grid;
  gap: 18px;
}

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

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

#leadership .section-heading {
  max-width: 920px;
}

#leadership .team-grid {
  width: min(100%, 980px);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#leadership .team-card {
  text-align: center;
}

#leadership .team-card::before {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

#leadership .team-avatar {
  margin-inline: auto;
}

.team-avatar {
  width: 60px;
  height: 60px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, #023bff, #1f395b);
  color: #f7faff;
  font-family: var(--font-latin);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.team-role {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.team-card p {
  margin: 14px 0 0;
}

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

.people-note-dark {
  background: rgba(244, 248, 255, 0.96);
  border-color: rgba(18, 38, 63, 0.08);
}

.people-note-dark .btn {
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .proof-grid.reveal .proof-card {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    padding: 10px 16px;
  }

  .brand-mark {
    width: 76px;
    max-height: 68px;
  }

  .main-nav {
    gap: 6px;
    padding: 7px 8px;
  }

  .main-nav a {
    padding: 9px 13px;
    font-size: 0.84rem;
  }

  .header-cta {
    min-height: 50px;
    padding: 12px 18px;
  }

  .split-layout,
  .intro-video-shell,
  .certificate-section,
  .contact-shell,
  .people-layout {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    max-width: none;
  }

  .intro-video {
    padding-top: 8px;
  }

  .intro-video-shell {
    padding: 22px;
    gap: 18px;
  }

  .certificate-preview {
    justify-self: center;
  }

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

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

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

@media (max-width: 860px) {
  .proof-grid.reveal {
    opacity: 1;
    transform: none;
    position: relative;
    display: block;
    perspective: 1600px;
    transform-style: preserve-3d;
  }

  .proof-grid.reveal .proof-card {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform-origin: right center;
    transform:
      perspective(1600px)
      rotateY(-88deg)
      translateX(22px)
      scale(0.98);
    filter: saturate(0.92) brightness(0.98);
    backface-visibility: hidden;
    transition:
      transform 760ms cubic-bezier(0.24, 0.72, 0.18, 1),
      opacity 620ms ease,
      filter 620ms ease;
  }

  .proof-grid.reveal .proof-card.is-card-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    transform:
      perspective(1600px)
      rotateY(0deg)
      translateX(0)
      scale(1);
    filter: none;
  }

  .proof-grid.reveal .proof-card.is-card-exit {
    opacity: 0;
    z-index: 1;
    transform-origin: left center;
    transform:
      perspective(1600px)
      rotateY(88deg)
      translateX(-22px)
      scale(0.98);
    filter: saturate(0.92) brightness(0.98);
  }

  .site-header {
    width: min(100vw - 24px, 560px);
    margin-top: 10px;
    padding: 8px 10px 10px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    grid-template-areas:
      "toggle brand spacer"
      "main main main"
      "cta cta cta";
    align-items: center;
    gap: 8px 10px;
    top: 10px;
    background: var(--nav-surface-strong);
    border: 1px solid var(--nav-border);
    border-radius: 28px;
    box-shadow:
      0 18px 34px rgba(17, 33, 52, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.84),
      inset 0 -1px 0 rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    overflow: hidden;
  }

  .site-header::before {
    content: none;
  }

  .site-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 18px;
    left: 18px;
    height: 1px;
    background: linear-gradient(90deg, rgba(2, 59, 255, 0), rgba(2, 59, 255, 0.28), rgba(2, 59, 255, 0));
    opacity: 0.85;
  }

  .brand {
    grid-area: brand;
    justify-self: stretch;
    justify-content: center;
    width: 100%;
    min-height: 64px;
    padding: 10px 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .brand-mark {
    width: 78px;
    max-height: 44px;
  }

  .nav-toggle {
    grid-area: toggle;
    justify-self: end;
    display: inline-grid;
    justify-items: center;
    align-content: center;
    min-width: 68px;
    min-height: 64px;
    padding: 8px 10px;
    gap: 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.42);
    border: 0;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      0 6px 16px rgba(17, 33, 52, 0.08);
    -webkit-backdrop-filter: blur(10px) saturate(135%);
    backdrop-filter: blur(10px) saturate(135%);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-align: center;
  }

  .nav-toggle-label {
    width: 100%;
    text-align: center;
    justify-self: center;
  }

  .main-nav {
    grid-area: main;
    width: auto;
    padding: 0;
    display: block;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .nav-toggle {
    color: var(--accent);
    background: rgba(2, 59, 255, 0.06);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.68),
      0 8px 18px rgba(2, 59, 255, 0.12);
  }

  .site-header.is-open .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
    padding: 12px 0 0;
    margin-top: 4px;
    background: transparent;
    border-top: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header.is-open .main-nav a {
    min-height: 52px;
    padding: 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.42);
    border-radius: 20px;
    text-align: center;
    line-height: 1.6;
  }

  .site-header.is-open .main-nav a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .site-header.is-open .header-cta {
    display: inline-flex;
    grid-area: cta;
    justify-content: center;
    min-height: 54px;
    margin: 4px 0 0;
  }

  .proof-grid,
  .service-grid,
  .team-grid,
  .team-grid-secondary,
  .culture-grid,
  .industry-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .people-page #leadership .team-grid {
    position: relative;
    display: block;
    width: min(100%, 360px);
    margin-inline: auto;
    perspective: 1600px;
    transform-style: preserve-3d;
  }

  .people-page #leadership .team-card {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform-origin: right center;
    transform:
      perspective(1600px)
      rotateY(-88deg)
      translateX(22px)
      scale(0.98);
    filter: saturate(0.92) brightness(0.98);
    backface-visibility: hidden;
    transition:
      transform 760ms cubic-bezier(0.24, 0.72, 0.18, 1),
      opacity 620ms ease,
      filter 620ms ease;
  }

  .people-page #leadership .team-card.is-card-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    transform:
      perspective(1600px)
      rotateY(0deg)
      translateX(0)
      scale(1);
    filter: none;
  }

  .people-page #leadership .team-card.is-card-exit {
    opacity: 0;
    z-index: 1;
    transform-origin: left center;
    transform:
      perspective(1600px)
      rotateY(88deg)
      translateX(-22px)
      scale(0.98);
    filter: saturate(0.92) brightness(0.98);
  }

  .hero {
    padding-top: 58px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .section-split,
  #services,
  .industry-section,
  #process,
  .contact-section {
    padding-top: 76px;
  }

  .page-hero {
    padding-bottom: 26px;
  }

  .people-layout {
    padding-top: 6px;
  }

  .people-layout + .section,
  #leadership + .section,
  #culture + .contact-section {
    padding-top: 58px;
  }

  .people-page .page-summary {
    margin-top: 18px;
    font-size: 1rem;
  }

  .people-page .page-hero .hero-actions {
    width: min(100%, 340px);
    display: grid;
    grid-template-columns: 1fr;
  }

  .people-page .page-hero .btn {
    width: 100%;
    justify-content: center;
  }

  .people-page .hero-tags {
    gap: 8px;
    margin-top: 20px;
  }

  .people-page .hero-tags li {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .people-page .people-layout,
  .people-page #leadership .team-grid,
  .people-page .culture-grid,
  .people-page .contact-shell,
  .people-page .contact-points {
    gap: 16px;
  }

  .people-page .split-copy,
  .people-page .people-note,
  .people-page .team-card,
  .people-page .culture-card {
    padding: 20px 18px 18px;
  }

  .people-page .section-heading {
    margin-bottom: 20px;
  }

  .people-page .section-heading h2,
  .people-page .contact-copy h2 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
    line-height: 1.24;
    text-wrap: balance;
  }

  .people-page .contact-copy h2 {
    max-width: none;
  }

  .people-page .people-note strong,
  .people-page .team-card h3,
  .people-page .culture-card h3 {
    font-size: 1.08rem;
    line-height: 1.5;
    text-wrap: balance;
  }

  .people-page .people-note ul {
    padding-right: 16px;
  }

  .people-page .people-note-dark .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .proof-grid.reveal {
    min-height: 0 !important;
    display: grid;
  }

  .proof-grid.reveal .proof-card,
  .proof-grid.reveal .proof-card.is-card-active,
  .proof-grid.reveal .proof-card.is-card-exit {
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
    z-index: auto;
    transform: none;
    filter: none;
  }

  .people-page #leadership .team-grid {
    min-height: 0 !important;
    display: grid;
  }

  .people-page #leadership .team-card,
  .people-page #leadership .team-card.is-card-active,
  .people-page #leadership .team-card.is-card-exit {
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
    z-index: auto;
    transform: none;
    filter: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100vw - 24px);
    padding: 7px 8px 8px;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    grid-template-areas:
      "toggle brand spacer"
      "main main main"
      "cta cta cta";
    border-radius: 24px;
  }

  .brand {
    min-height: 60px;
    padding: 9px 0;
  }

  .brand-mark {
    width: 70px;
    max-height: 40px;
  }

  .nav-toggle {
    min-width: 60px;
    min-height: 58px;
    gap: 7px;
    font-size: 0.66rem;
  }

  .site-header.is-open .main-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section,
  .proof-grid,
  .site-footer {
    width: min(100vw - 24px, 1180px);
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .split-copy,
  .intro-video-shell,
  .certificate-section,
  .contact-shell {
    padding: 20px;
  }

  .certificate-section {
    margin-top: 36px;
    gap: 20px;
    border-radius: 26px;
  }

  .certificate-copy h2 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .certificate-copy p:not(.eyebrow) {
    font-size: 0.96rem;
    line-height: 1.9;
  }

  .certificate-preview {
    width: min(100%, 300px);
    padding: 8px;
  }

  .people-page .contact-shell {
    padding: 20px 18px;
    border-radius: 26px;
  }

  .people-page .contact-points div,
  .people-page .people-note,
  .people-page .team-card,
  .people-page .culture-card {
    border-radius: 22px;
  }

  .people-page .team-avatar {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 16px;
  }

  .people-page .team-role {
    font-size: 0.84rem;
  }

  .company-contact-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .company-contact-label {
    justify-self: start;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer-contact-item {
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-brand {
    justify-content: center;
  }
}
