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

.om-direction-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: #090a0c;
  color: #fff;
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
  animation: omRise .5s both;
  transition: border-color .22s ease,box-shadow .22s ease,transform .22s ease;
}

.om-direction-cover {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.45;
  overflow: hidden;
  border-radius: 23px;
  padding: 20px;
}

.om-direction-pattern,
.om-direction-shade {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
}

.om-direction-pattern {
  z-index: -2;
  display: block;
  object-fit: cover;
  transition: filter .38s ease,transform .5s cubic-bezier(.2,.7,.2,1);
}

.om-direction-shade {
  z-index: -1;
  background: linear-gradient(145deg,rgba(2,13,37,.43) 0%,rgba(4,19,42,.06) 58%,rgba(255,255,255,.08) 100%);
}

.om-direction-card.is-blue .om-direction-pattern {
  filter: saturate(1.28) contrast(1.03) brightness(.92);
}

.om-direction-card.is-aqua .om-direction-pattern {
  filter: saturate(1.35) contrast(1.08) brightness(.82);
}

.om-direction-card.is-aqua .om-direction-shade {
  background: linear-gradient(145deg,rgba(20,88,145,.5) 0%,rgba(14,79,135,.08) 60%,rgba(255,255,255,.04) 100%);
}

.om-direction-card.is-orange .om-direction-pattern {
  filter: hue-rotate(38deg) saturate(1.55) brightness(1.1);
}

.om-direction-card.is-orange .om-direction-shade {
  background: linear-gradient(145deg,rgba(173,55,4,.22) 0%,rgba(255,118,24,.04) 62%,rgba(255,224,153,.12) 100%);
}

.om-direction-title {
  position: relative;
  z-index: 1;
  max-width: 94%;
  margin: 0;
  font-size: clamp(18px,1.7vw,22px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.om-direction-cover-meta {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.om-direction-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.96);
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.om-direction-plus {
  flex: 0 0 auto;
  color: rgba(255,255,255,.98);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.om-direction-copy {
  min-height: 94px;
  margin: 0;
  padding: 16px 18px 19px;
  color: rgba(255,255,255,.86);
  font-size: var(--om-fs-small);
  line-height: 1.42;
}

@media (hover:hover) {
  .om-direction-card:hover {
    border-color: rgba(255,255,255,.25);
    box-shadow: 0 20px 42px rgba(0,0,0,.27);
    transform: translateY(-3px);
  }

  .om-direction-card:hover .om-direction-pattern {
    transform: scale(1.045);
  }
}

@media (max-width:680px) {
  .om-direction-grid {
    grid-template-columns: 1fr;
  }

  .om-direction-cover {
    aspect-ratio: 1.55;
  }

  .om-direction-title {
    max-width: 86%;
    font-size: clamp(22px,7vw,27px);
  }

  .om-direction-copy {
    min-height: auto;
    padding: 16px 18px 20px;
    font-size: var(--om-fs-ui);
  }
}

.om-client-logo-wall {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px 12px;
  margin-top: 16px;
  padding: 4px 0;
}

.om-client-logo {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 104px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 18px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  opacity: 0;
  animation: omClientLogoIn .48s cubic-bezier(.2,.7,.2,1) forwards;
  transition: background .2s ease,border-color .2s ease,transform .2s ease;
}

.om-client-logo-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%,180px);
  max-height: 60px;
  object-fit: contain;
  opacity: .9;
  filter: var(--logo-filter);
  transition: opacity .2s ease,transform .28s cubic-bezier(.2,.7,.2,1);
}

.om-client-logo-fallback {
  display: none;
  max-width: 100%;
  color: var(--text);
  font-size: var(--om-fs-ui);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
}

.om-client-logo.has-image-error .om-client-logo-image {
  display: none;
}

.om-client-logo.has-image-error .om-client-logo-fallback {
  display: block;
}

@keyframes omClientLogoIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (hover:hover) {
  .om-client-logo:hover {
    border-color: var(--border);
    background: var(--hover);
    transform: translateY(-2px);
  }

  .om-client-logo:hover .om-client-logo-image {
    opacity: 1;
    transform: scale(1.035);
  }
}

@media (max-width:680px) {
  .om-client-logo-wall {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 6px 8px;
    margin-top: 12px;
  }

  .om-client-logo {
    min-height: 94px;
    border-radius: 15px;
    padding: 14px 10px;
  }

  .om-client-logo-image {
    max-width: min(100%,142px);
    max-height: 54px;
  }
}

@media (max-width:350px) {
  .om-client-logo {
    min-height: 84px;
    padding: 12px 8px;
  }

  .om-client-logo-image {
    max-width: min(100%,118px);
    max-height: 48px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .om-client-logo {
    opacity: 1;
    animation: none;
    transition: none;
  }

  .om-client-logo-image {
    transition: none;
  }
}

.om-expert-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin-top: 16px;
}

.om-expert-card {
  display: grid;
  grid-template-columns: 96px minmax(0,1fr);
  align-items: start;
  gap: 18px;
  min-width: 0;
  min-height: 194px;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  opacity: 0;
  animation: omExpertIn .5s cubic-bezier(.2,.7,.2,1) forwards;
  transition: border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.om-expert-photo {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 9px 24px rgba(0,0,0,.2);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}

.om-expert-copy {
  min-width: 0;
}

.om-expert-role {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: .025em;
}

.om-expert-name {
  margin: 0;
  font-size: 19px;
  font-weight: 780;
  line-height: 1.22;
  letter-spacing: -.018em;
  text-wrap: balance;
}

.om-expert-bio {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

  to {
    opacity: 1;
    transform: none;
  }
}

@media (hover:hover) {
  .om-expert-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 18px 38px rgba(0,0,0,.14);
    transform: translateY(-2px);
  }

  .om-expert-card:hover .om-expert-photo {
    transform: scale(1.025);
  }
}

@media (max-width:899px) {
  .om-expert-grid {
    grid-template-columns: 1fr;
  }

  .om-expert-card {
    min-height: 176px;
  }
}

@media (max-width:680px) {
  .om-expert-grid {
    width: calc(100vw - 40px);
    max-width: none;
    margin-left: -62px;
    gap: 12px;
  }

  .om-expert-card {
    grid-template-columns: 88px minmax(0,1fr);
    gap: 16px;
    min-height: 176px;
    border-radius: 18px;
    padding: 18px;
  }

  .om-expert-photo {
    width: 88px;
    height: 88px;
    border-radius: 18px;
  }

  .om-expert-role {
    font-size: 11.5px;
  }

  .om-expert-name {
    font-size: 18px;
  }

  .om-expert-bio {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.52;
  }
}

@media (max-width:350px) {
  .om-expert-card {
    grid-template-columns: 78px minmax(0,1fr);
    gap: 14px;
    padding: 16px;
  }

  .om-expert-photo {
    width: 78px;
    height: 78px;
    border-radius: 16px;
  }

  .om-expert-name {
    font-size: 17px;
  }

  .om-expert-bio {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .om-expert-card {
    opacity: 1;
    animation: none;
    transition: none;
  }

  .om-expert-photo {
    transition: none;
  }
}
