/* About page: standalone company-page blocks adapted to the site root variables. */

body.page--about {
  background: var(--bg);
}

body.page--about main {
  overflow: hidden;
}

.company-page {
  padding: 44px 0 96px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(8, 118, 133, .10) 0, transparent 34%),
    linear-gradient(180deg, var(--surface-soft) 0%, var(--bg) 100%);
}

.company-page__container {
  display: grid;
  gap: 44px;
}

.company-page__breadcrumbs {
  margin: 0 0 -16px;
}

.company-page__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 10px;
  padding: 6px 13px;
  color: var(--accent-hover);
  background: rgba(8, 118, 133, .10);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.company-page__section-head {
  display: grid;
  gap: 4px;
  margin: 0 0 24px;
}

.company-page__section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.company-page__section-head--dark .company-page__title {
  color: #fff;
}

.company-page__title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.03em;
}

.company-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 455px;
  gap: 34px;
  min-height: 430px;
  padding: 70px 72px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 42%, rgba(8, 118, 133, .34) 0, transparent 31%),
    radial-gradient(circle at 14% 2%, rgba(255, 255, 255, .10) 0, transparent 30%),
    linear-gradient(135deg, #10395E 0%, #08243C 52%, #06192B 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.company-hero::before {
  position: absolute;
  inset: -50px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .10) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .45;
  content: "";
}

.company-hero__content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 670px;
}

.company-hero__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.045em;
}

.company-hero__text {
  max-width: 625px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
  line-height: 1.58;
  font-weight: 400;
}

.company-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 0;
}

.company-hero .btn--secondary {
  color: var(--text);
  background: #fff;
  border-color: rgba(255, 255, 255, .58);
}

.company-hero__visual {
  position: relative;
  z-index: 1;
  min-height: 290px;
}

.company-hero__card {
  position: absolute;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .18);
  backdrop-filter: blur(4px);
}

.company-hero__card--profile {
  top: 0;
  left: 20px;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: 215px;
  padding: 34px 28px 28px;
  background: #fff;
}

.company-hero__avatar {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 6px solid var(--accent-soft);
  border-radius: 50%;
}

.company-hero__status {
  position: absolute;
  top: 52px;
  right: 52px;
  width: 16px;
  height: 16px;
  background: var(--success);
  border: 3px solid #fff;
  border-radius: 50%;
}

.company-hero__line {
  display: block;
  width: 86px;
  height: 7px;
  margin: 14px 0 0;
  background: #D8E7EE;
  border-radius: 999px;
}

.company-hero__line--wide {
  width: 128px;
}

.company-hero__button {
  display: block;
  width: 165px;
  height: 37px;
  margin: 26px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-hover));
  border-radius: 8px;
}

.company-hero__card--chart {
  right: 0;
  bottom: 4px;
  width: 260px;
  height: 178px;
  padding: 38px 28px;
}

.company-hero__card--chart span {
  display: block;
  height: 16px;
  margin: 0 0 20px;
  background: rgba(255, 255, 255, .16);
  border-radius: 999px;
}

.company-hero__card--chart span:nth-child(2) {
  width: 72%;
}

.company-hero__card--chart span:nth-child(3) {
  width: 90%;
  height: 34px;
  margin-top: 26px;
  background: rgba(8, 118, 133, .42);
}

.company-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 32px;
  align-items: center;
  padding: 36px 42px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
}

.company-quote__text p {
  position: relative;
  margin: 0;
  color: #25394D;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.42;
  font-weight: 600;
}

.company-quote__text p::before {
  color: var(--accent);
  content: "«";
  font-size: 44px;
  line-height: 0;
  vertical-align: -16px;
}

.company-quote__text span {
  display: block;
  margin-top: 18px;
  color: var(--text-muted);
  font-weight: 600;
}

.company-quote__photo {
  justify-self: center;
  width: 132px;
  height: 132px;
  object-fit: cover;
  border: 10px solid #EEF8FC;
  border-radius: 50%;
}

.company-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.company-service-card {
  min-height: 190px;
  padding: 25px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(8, 118, 133, .24), transparent 35%),
    linear-gradient(135deg, #173653, #08243C);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-light);
}

.company-service-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 34px;
  margin-bottom: 24px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.company-service-card__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.16;
  font-weight: 700;
}

.company-service-card__text {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
}

.company-products__list {
  display: grid;
  gap: 18px;
}

.company-product {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  min-height: 260px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 0, rgba(8, 118, 133, .18), transparent 28%),
    linear-gradient(135deg, #10395E, #08243C);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
}

.company-product__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  color: #fff;
}

.company-product__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 25px;
  line-height: 1.15;
  font-weight: 700;
}

.company-product__text {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}

.company-product__button {
  align-self: flex-start;
  min-height: 38px;
  margin-top: 26px;
  padding: 10px 18px;
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 10px;
  font-weight: 600;
  transition: background-color .2s ease, transform .2s ease;
}

.company-product__button:hover,
.company-product__button:focus-visible {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}

.company-product__screen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 16px;
  margin: 28px 28px 28px 0;
  padding: 42px 36px;
  background: #fff;
  border-radius: 16px 0 0 16px;
}

.company-product__screen span {
  height: 78px;
  background: linear-gradient(180deg, rgba(8, 118, 133, .18), rgba(8, 118, 133, .68));
  border-radius: 9px;
}

.company-product__screen span:nth-child(2) { height: 126px; }
.company-product__screen span:nth-child(3) { height: 94px; }
.company-product__screen span:nth-child(4) { height: 150px; }
.company-product__screen--bars { grid-template-columns: repeat(5, 1fr); }
.company-product__screen--bars span:nth-child(1) { height: 65px; }
.company-product__screen--bars span:nth-child(2) { height: 115px; }
.company-product__screen--bars span:nth-child(3) { height: 86px; }
.company-product__screen--bars span:nth-child(4) { height: 145px; }
.company-product__screen--bars span:nth-child(5) { height: 102px; }
.company-product__screen--table { grid-template-columns: 1fr; align-items: stretch; }
.company-product__screen--table span { width: 100%; height: 26px; background: #EAF4F8; }
.company-product__screen--table span:nth-child(2),
.company-product__screen--table span:nth-child(4) { background: rgba(8, 118, 133, .22); }

.company-office {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.company-office__text {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

.company-office__video {
  position: relative;
  display: block;
  width: 100%;
  min-height: 315px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #101D29;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  text-align: left;
}

.company-office__video img {
  width: 100%;
  height: 100%;
  min-height: 315px;
  display: block;
  object-fit: cover;
  filter: saturate(.92);
}

.company-office__video::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 33, .05), rgba(10, 22, 33, .45));
  content: "";
}

.company-office__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.company-office__play::before {
  position: absolute;
  top: 50%;
  left: 52%;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 21px solid var(--accent);
  transform: translate(-40%, -50%);
  content: "";
}

.company-office__caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
}

.company-numbers__viewport {
  width: 100%;
}

.company-numbers__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.company-numbers__nav {
  display: none;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.company-numbers__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--primary);
  background: #fff;
  border: 1px solid rgba(11, 74, 139, .34);
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.company-numbers__arrow:hover {
  color: #fff;
  background: var(--primary);
  transform: translateY(-1px);
}

.company-number-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 145px;
  padding: 27px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(8, 118, 133, .26), transparent 32%),
    linear-gradient(135deg, #10395E, #08243C);
  border-radius: var(--radius-sm);
}

.company-number-card strong {
  display: block;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.1vw, 38px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.045em;
}

.company-number-card span {
  display: block;
  max-width: 100%;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
}

.company-numbers__dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.company-numbers__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(8, 118, 133, .28);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.company-numbers__dot--active {
  width: 24px;
  background: var(--accent);
  border-radius: 999px;
}

.company-history {
  padding: 54px 58px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(8, 118, 133, .22), transparent 30%),
    linear-gradient(135deg, #08243C, #10395E);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.company-history__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.company-history__timeline::before {
  position: absolute;
  top: 39px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
}

.company-history__item {
  position: relative;
  z-index: 1;
  min-height: 190px;
  padding: 58px 22px 24px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-sm);
}

.company-history__item::before {
  position: absolute;
  top: 31px;
  left: 24px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 4px solid #112131;
  border-radius: 50%;
  content: "";
}

.company-history__item time {
  display: block;
  margin-bottom: 10px;
  color: #9FE6EE;
  font-size: 18px;
  font-weight: 700;
}

.company-history__item h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.18;
  font-weight: 700;
}

.company-history__item p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.55;
}

.company-team__filters {
  display: flex;
  gap: 10px;
  margin: 0 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.company-team__filters::-webkit-scrollbar {
  display: none;
}

.company-team__filter {
  min-height: 36px;
  padding: 8px 17px;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.company-team__filter--active,
.company-team__filter.is-active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.company-team__filter:focus-visible,
.company-numbers__arrow:focus-visible,
.company-numbers__dot:focus-visible,
.company-video-review:focus-visible,
.company-office__video:focus-visible,
.company-product__button:focus-visible {
  outline: 3px solid rgba(11, 74, 139, .28);
  outline-offset: 3px;
}

.company-team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.company-person-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-light);
}

.company-person-card.is-hidden {
  display: none;
}

.company-person-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.company-person-card h3 {
  margin: 18px 20px 6px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.company-person-card p {
  margin: 0 20px 22px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.company-results__grid,
.company-mini-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.company-result-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
}

.company-result-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.company-result-card__body {
  padding: 22px;
}

.company-result-card__body span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.company-result-card__body h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.22;
  font-weight: 700;
}

.company-result-card__body p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
}

.company-video-reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.company-video-review {
  position: relative;
  display: block;
  width: 100%;
  min-height: 240px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #101D29;
  border: 0;
  border-radius: var(--radius-sm);
  text-align: left;
  scroll-snap-align: start;
  box-shadow: var(--shadow-light);
}

.company-video-review img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  opacity: .86;
}

.company-video-review__play {
  position: absolute;
  top: 62px;
  left: 50%;
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
}

.company-video-review__play::before {
  position: absolute;
  top: 50%;
  left: 53%;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--accent);
  transform: translate(-40%, -50%);
  content: "";
}

.company-video-review h3 {
  margin: 15px 18px 4px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
}

.company-video-review p {
  margin: 0 18px 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

.company-mini-review {
  min-height: 210px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-light);
}

.company-mini-review__stars {
  margin-bottom: 18px;
  color: var(--accent);
  letter-spacing: 3px;
  font-weight: 700;
}

.company-mini-review p {
  margin: 0;
  color: #26394D;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.company-mini-review span {
  display: block;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.about-video-modal {
  position: fixed;
  inset: 0;
  z-index: 310;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(6, 22, 35, .64);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.about-video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.about-video-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 72px rgba(0, 0, 0, .26);
}

.about-video-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.about-video-modal__frame {
  min-height: 360px;
  background:
    radial-gradient(circle at 62% 40%, rgba(8, 118, 133, .30), transparent 34%),
    linear-gradient(135deg, #10395E, #06192B);
}

.about-video-modal__placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  color: #fff;
}

.about-video-modal__play {
  position: relative;
  display: block;
  width: 82px;
  height: 82px;
  background: #fff;
  border-radius: 50%;
}

.about-video-modal__play::before {
  position: absolute;
  top: 50%;
  left: 53%;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 25px solid var(--accent);
  transform: translate(-40%, -50%);
  content: "";
}

.about-video-modal__content {
  padding: 26px 30px 30px;
}

.about-video-modal__title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.about-video-modal__text {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .company-page {
    padding: 34px 0 78px;
  }

  .company-hero {
    grid-template-columns: 1fr;
    padding: 54px 42px;
  }

  .company-hero__visual {
    min-height: 250px;
  }

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

  .company-product {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .company-office {
    grid-template-columns: 1fr;
  }

  .company-numbers__grid,
  .company-history__timeline,
  .company-results__grid,
  .company-mini-reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-history__timeline::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .company-page {
    padding: 28px 0 64px;
  }

  .company-page__container {
    gap: 34px;
  }

  .company-page__section-head--row {
    align-items: center;
  }

  .company-hero {
    min-height: 0;
    padding: 34px 22px 28px;
    border-radius: var(--radius);
  }

  .company-hero__title {
    font-size: 34px;
  }

  .company-hero__text {
    font-size: 15px;
  }

  .company-hero__actions {
    display: grid;
  }

  .company-hero__actions .btn {
    width: 100%;
  }

  .company-hero__visual {
    min-height: 225px;
    transform: scale(.9);
    transform-origin: left top;
  }

  .company-quote {
    grid-template-columns: 1fr;
    padding: 26px;
    text-align: left;
  }

  .company-quote__photo {
    justify-self: start;
    width: 96px;
    height: 96px;
  }

  .company-services__grid,
  .company-product,
  .company-numbers__grid,
  .company-history__timeline,
  .company-team__grid,
  .company-results__grid,
  .company-mini-reviews__grid {
    grid-template-columns: 1fr;
  }

  .company-product__screen {
    min-height: 190px;
    margin: 0 18px 20px;
    border-radius: var(--radius-sm);
  }

  .company-office__video,
  .company-office__video img {
    min-height: 230px;
  }

  .company-numbers__nav,
  .company-numbers__dots {
    display: flex;
  }

  .company-numbers__viewport {
    overflow: hidden;
  }

  .company-numbers__grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 86%);
    grid-template-columns: none !important;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .company-numbers__grid::-webkit-scrollbar {
    display: none;
  }

  .company-number-card {
    min-height: 168px;
    scroll-snap-align: start;
  }

  .company-number-card strong {
    font-size: 34px;
  }

  .company-history {
    padding: 34px 22px;
    border-radius: var(--radius);
  }

  .company-history__item {
    min-height: 0;
    padding-top: 50px;
  }

  .company-person-card img {
    height: 210px;
  }

  .company-video-reviews__track {
    grid-auto-columns: 86%;
  }

  .about-video-modal__frame,
  .about-video-modal__placeholder {
    min-height: 260px;
  }

  .about-video-modal__content {
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .company-hero__visual {
    min-height: 190px;
    transform: scale(.78);
  }

  .company-hero__card--profile {
    left: 0;
  }

  .company-hero__card--chart {
    left: 118px;
    right: auto;
    width: 225px;
  }

  .company-page__section-head--row {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .company-numbers__arrow {
    width: 38px;
    height: 38px;
  }

  .company-numbers__grid {
    grid-auto-columns: 92%;
  }
}

@media (max-width: 374px) {
  .company-hero__visual {
    min-height: 170px;
    transform: scale(.70);
  }

  .company-hero__card--chart {
    left: 100px;
    width: 218px;
  }
}

/* About page adaptive hardening: prevent grid items from keeping desktop min-content width on tablets and mobile. */
.company-page__container,
.company-page__container > *,
.company-page__section-head,
.company-hero,
.company-hero__content,
.company-hero__text,
.company-hero__visual,
.company-quote,
.company-quote__text,
.company-services,
.company-services__grid,
.company-service-card,
.company-products,
.company-products__list,
.company-product,
.company-product__info,
.company-product__screen,
.company-office,
.company-office__content,
.company-office__video,
.company-numbers,
.company-numbers__viewport,
.company-numbers__grid,
.company-history,
.company-history__timeline,
.company-team,
.company-team__grid,
.company-results,
.company-results__grid,
.company-video-reviews,
.company-video-reviews__track,
.company-mini-reviews,
.company-mini-reviews__grid {
  min-width: 0;
  max-width: 100%;
}

.company-page__container > * {
  width: 100%;
}

.company-office__video {
  width: 100%;
}

@media (max-width: 760px) {
  .company-page__container {
    width: min(calc(100% - 24px), var(--container));
  }

  .company-page__container > *,
  .company-page__breadcrumbs,
  .company-hero,
  .company-quote,
  .company-services,
  .company-products,
  .company-office,
  .company-numbers,
  .company-history,
  .company-team,
  .company-results,
  .company-video-reviews,
  .company-mini-reviews {
    inline-size: 100%;
  }

  .company-hero__content,
  .company-quote__text,
  .company-office__content {
    inline-size: 100%;
    max-inline-size: 100%;
  }

  .company-hero__text {
    max-inline-size: 100%;
  }

  .company-hero__actions,
  .company-hero__actions .btn {
    inline-size: 100%;
  }

  .company-hero__visual {
    inline-size: min(100%, 330px);
    max-inline-size: 100%;
    min-height: 190px;
    transform: none;
  }

  .company-hero__card--profile {
    left: 0;
    width: min(190px, 58vw);
    padding: 26px 20px 22px;
  }

  .company-hero__avatar {
    width: 78px;
    height: 78px;
    border-width: 5px;
  }

  .company-hero__status {
    top: 42px;
    right: 40px;
  }

  .company-hero__line {
    width: 72px;
  }

  .company-hero__line--wide {
    width: 112px;
  }

  .company-hero__button {
    width: 132px;
    height: 34px;
    margin-top: 20px;
  }

  .company-hero__card--chart {
    left: min(118px, 36vw);
    right: auto;
    width: min(212px, calc(100% - 92px));
    height: 150px;
    padding: 30px 24px;
  }

  .company-quote__photo {
    max-inline-size: 96px;
  }

  .company-product__screen {
    width: auto;
    max-width: calc(100% - 36px);
  }

  .company-office__video {
    min-height: 230px;
  }

  .company-office__video img {
    min-height: 230px;
  }

  .company-numbers__grid {
    width: 100%;
  }

  .company-team__grid,
  .company-results__grid,
  .company-mini-reviews__grid {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .company-hero__visual {
    inline-size: 100%;
    min-height: 178px;
    transform: none;
  }

  .company-hero__card--profile {
    width: min(178px, 62vw);
  }

  .company-hero__card--chart {
    left: 92px;
    width: min(190px, calc(100% - 92px));
    height: 136px;
    padding: 26px 20px;
  }

  .company-hero__card--chart span {
    height: 12px;
    margin-bottom: 16px;
  }

  .company-hero__card--chart span:nth-child(3) {
    height: 26px;
    margin-top: 18px;
  }
}

@media (max-width: 360px) {
  .company-hero__card--profile {
    width: 166px;
    padding-inline: 16px;
  }

  .company-hero__card--chart {
    left: 82px;
    width: calc(100% - 82px);
  }
}

/* About breadcrumbs: local BEM styling so the page does not depend on service/blog CSS. */
.company-page .breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.company-page .breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.company-page .breadcrumbs__item:not(:last-child)::after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: .55;
  transform: rotate(45deg);
  content: "";
}

.company-page .breadcrumbs__link {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

.company-page .breadcrumbs__link:hover,
.company-page .breadcrumbs__link:focus-visible {
  color: var(--accent-hover);
}

.company-page .breadcrumbs__item[aria-current="page"] {
  color: var(--text);
}

.company-quote__text p::before {
  display: inline-block;
  width: 28px;
  height: 3px;
  margin-right: 8px;
  background: var(--accent);
  border-radius: 999px;
  vertical-align: middle;
  content: "";
}

.company-office__video,
.company-video-review {
  border: 0;
  text-align: left;
  cursor: pointer;
}

@media (max-width: 760px) {
  .company-page .breadcrumbs__list {
    gap: 6px;
    font-size: 13px;
  }

  .company-page .breadcrumbs__item:not(:last-child)::after {
    margin-left: 6px;
  }
}


/* WordPress dynamic integration. */
body.page--about .site-main,
body.page--about main {
  overflow: hidden;
}

.company-page__editor-content {
  padding: 30px 34px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
}

.company-page__editor-content > :first-child { margin-top: 0; }
.company-page__editor-content > :last-child { margin-bottom: 0; }

.company-page__more,
.company-service-card__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.company-page__more:hover,
.company-service-card__link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.company-service-card {
  display: flex;
  flex-direction: column;
}

.company-service-card__link {
  margin-top: auto;
  padding-top: 18px;
  color: #9fe6ee;
}

.company-person-card__photo,
.company-result-card__media {
  display: block;
  overflow: hidden;
}

.company-person-card__image {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.company-person-card__body {
  padding: 18px 20px 22px;
}

.company-person-card h3,
.company-person-card p {
  margin-left: 0;
  margin-right: 0;
}

.company-person-card h3 {
  margin-top: 0;
}

.company-person-card h3 a,
.company-result-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.company-person-card h3 a:hover,
.company-result-card__body h3 a:hover {
  color: var(--primary);
}

.company-person-card p {
  margin-bottom: 0;
}

.company-person-card[hidden] {
  display: none !important;
}

.company-result-card__placeholder,
.company-video-review__placeholder,
.company-office__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 210px;
  color: rgba(255,255,255,.88);
  background:
    radial-gradient(circle at 24% 18%, rgba(8,118,133,.48), transparent 34%),
    linear-gradient(135deg, #10395e 0%, #08243c 100%);
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
}

.company-office__placeholder {
  min-height: 315px;
}

.company-office__video--static {
  cursor: default;
}

.company-video-review {
  text-decoration: none;
}

.company-video-review__placeholder {
  min-height: 170px;
}

.company-video-review__play {
  position: absolute;
  top: 62px;
  left: 50%;
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
}

.company-video-review__play::before {
  position: absolute;
  top: 50%;
  left: 53%;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--accent);
  transform: translate(-40%, -50%);
  content: "";
}

.company-mini-review__text p {
  margin: 0;
  color: #26394d;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.company-hero__avatar[src$="user-avatar-placeholder.svg"],
.company-quote__photo[src$="user-avatar-placeholder.svg"] {
  object-fit: contain;
  padding: 10px;
  background: #eef8fc;
}

.company-history__item p,
.company-service-card__text,
.company-product__text,
.company-office__text,
.company-number-card span,
.company-result-card__body p,
.company-video-review p,
.company-mini-review__text,
.company-quote__text p,
.company-hero__text {
  font-weight: 400;
}

.company-page__title,
.company-hero__title,
.company-product__title,
.company-number-card strong,
.company-history__item h3,
.company-person-card h3,
.company-result-card__body h3,
.company-video-review h3 {
  font-weight: 700;
}

.company-page__eyebrow,
.company-team__filter,
.company-product__button,
.company-page__more,
.company-service-card__link,
.company-mini-review span {
  font-weight: 600;
}

@media (max-width: 760px) {
  .company-page__editor-content { padding: 24px 20px; }
  .company-page__section-head--row { align-items: start; }
  .company-page__more { margin-top: 4px; }
  .company-person-card__image { height: 210px; }
}

/* Keep bold emphasis only where it carries hierarchy. */
.company-page__eyebrow,
.company-service-card__num,
.company-office__caption,
.company-result-card__body > span,
.company-mini-review__stars {
  font-weight: 600;
}
