.other-services-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.other-services-section::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -240px;
  bottom: -300px;
  border: 1px solid rgba(75, 23, 48, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(75, 23, 48, 0.025);
  pointer-events: none;
}

.other-services-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
  align-items: center;
}

.other-services-heading h2 {
  max-width: 470px;
}

.other-service-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 38px;
  gap: 26px;
  align-items: center;
  min-height: 190px;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 18px 55px rgba(45, 13, 29, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.other-service-card:hover,
.other-service-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(75, 23, 48, 0.32);
  box-shadow: 0 28px 75px rgba(45, 13, 29, 0.14);
}

.other-service-card:focus-visible {
  outline: 3px solid rgba(201, 164, 107, 0.65);
  outline-offset: 4px;
}

.other-service-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  font: 400 34px/1 var(--serif);
  color: var(--cream);
  background: var(--wine);
}

.other-service-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.other-service-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--plum);
}

.other-service-copy strong {
  font: 400 clamp(25px, 2.7vw, 36px)/1.12 var(--serif);
  color: var(--wine-deep);
}

html[lang="fa"] .other-service-copy strong {
  font-family: var(--fa);
  font-weight: 700;
}

.other-service-copy > span:last-child {
  font-size: 14px;
  color: var(--muted);
}

.other-service-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 17px;
  color: var(--wine);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.other-service-card:hover .other-service-arrow {
  transform: translate(3px, -3px);
  color: #fff;
  background: var(--wine);
}

html[dir="rtl"] .other-service-card:hover .other-service-arrow {
  transform: translate(-3px, -3px);
}

/* Standalone engineering page */
.engineering-page {
  min-height: 100vh;
  background: var(--wine-deep);
}

.engineering-page .site-header {
  position: relative;
}

.engineering-page .brand-copy strong {
  letter-spacing: 0.16em;
}

.engineering-main {
  min-height: calc(100vh - 78px);
}

.engineering-hero {
  position: relative;
  display: flex;
  min-height: calc(100vh - 78px);
  align-items: center;
  overflow: hidden;
  padding: 105px 0;
}

.engineering-hero::before,
.engineering-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.engineering-hero::before {
  width: 620px;
  height: 620px;
  right: -260px;
  top: -280px;
  background: radial-gradient(circle, rgba(164, 79, 112, 0.48), transparent 68%);
}

.engineering-hero::after {
  width: 520px;
  height: 520px;
  left: -320px;
  bottom: -340px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 85px rgba(255, 255, 255, 0.025);
}

.engineering-hero-grid {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.engineering-hero h1 {
  max-width: 900px;
}

.engineering-lead {
  max-width: 690px;
  margin: 0 0 36px;
  font-size: clamp(18px, 2vw, 24px);
  color: #dfcfd4;
}

.engineering-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.engineering-note {
  max-width: 610px;
  margin: 46px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--white-line);
  font-size: 11px;
  color: #bdaab0;
}

.engineering-footer {
  padding: 22px 0;
  color: #9d888f;
  background: #1d0913;
}

.engineering-footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.engineering-footer p {
  margin: 0;
  font-size: 10px;
}

@media (max-width: 820px) {
  .other-services-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .engineering-page .primary-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .engineering-page .primary-nav .button {
    width: auto;
  }

  .engineering-hero {
    min-height: calc(100vh - 70px);
    padding: 82px 0;
  }
}

@media (max-width: 560px) {
  .other-service-card {
    grid-template-columns: 58px minmax(0, 1fr) 32px;
    gap: 16px;
    min-height: 170px;
    padding: 26px 20px;
  }

  .other-service-icon {
    width: 58px;
    height: 58px;
    font-size: 28px;
  }

  .other-service-arrow {
    width: 32px;
    height: 32px;
  }

  .engineering-page .brand-copy small {
    display: none;
  }

  .engineering-page .primary-nav .button {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 10px;
  }

  .engineering-page .language-toggle {
    margin: 0;
  }

  .engineering-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .engineering-actions .button {
    width: 100%;
  }

  .engineering-footer .shell {
    flex-direction: column;
    gap: 6px;
  }
}
