/* Canonical internal CSS owner for Dentix carousel variants. */
/* Moved atomically from style.css. */
.video-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 0;
}

.video-card {
  position: relative;
  min-height: 505px;
  padding: 0;
  background: #ddd;
  border: 0;
  overflow: hidden;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card--alt img {
  object-position: 35% center;
  filter: hue-rotate(12deg) saturate(.78);
  transform: scale(1.04);
}

.video-card--third img {
  object-position: 70% center;
  filter: hue-rotate(-10deg) brightness(.95);
  transform: scale(1.08);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.work-card {
  padding-bottom: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-card h3,
.work-card>p,
.work-card>a {
  margin-right: 22px;
  margin-left: 22px;
}

.work-card h3 {
  min-height: 46px;
  margin-bottom: 12px;
  font-size: 18px;
}

.work-card>p {
  color: var(--muted);
  font-size: 10px;
}

.work-card>a {
  margin-top: 12px;
}

@media (max-width: 767px) {
  .video-strip {
    width: calc(100vw - 20px);
    grid-template-columns: 70vw 70vw 70vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .video-card {
    min-height: 410px;
    scroll-snap-align: start;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }
}

.work-carousel {
  --carousel-peek: 60px;
  width: 100%;
  overflow: visible;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.work-carousel.is-dragging {
  cursor: grabbing;
}

.cases .work-grid {
  display: flex;
  width: auto;
  gap: 20px;
  border: 0;
  will-change: transform;
}

.cases .work-card {
  flex: 0 0 calc((100% + 60px) / 3);
  padding: 0;
  border: 0;
}

.cases .work-card h3,
.cases .work-card>p {
  margin-right: 0;
  margin-left: 0;
}

.cases .work-card h3 {
  min-height: 0;
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1;
}

.cases .work-card>p {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1;
}

.cases .work-card>a {
  width: 100%;
  height: 50px;
  justify-content: center;
  margin: 30px 0 0;
  color: #303030;
  background: transparent;
  border: 1px solid #c4c4c1;
  font-size: 14px;
}

html:not(.js) [data-carousel-controls] {
  display: none;
}

[data-carousel]:not(.is-carousel-ready) {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-gutter: stable;
}

[data-carousel]:not(.is-carousel-ready) [data-carousel-track] {
  transform: none;
  transition: none;
  will-change: auto;
}

[data-carousel]:not(.is-carousel-ready) [data-carousel-slide] {
  scroll-snap-align: start;
}

/* Moved atomically from home.css. */
.cases:not(.cases--service):not(.cases--case) .work-card>a {
  --corner-color: #010f77;
  --corner-hover-color: #7c7c7c;
  --corner-inset: -1px;
  position: relative;
}

.cases:not(.cases--service):not(.cases--case) .work-card>a::before,
.cases:not(.cases--service):not(.cases--case) .work-card>a::after {
  position: absolute;
  width: 10px;
  height: 10px;
  background: transparent;
  pointer-events: none;
  content: "";
  transform-origin: center;
}

.cases:not(.cases--service):not(.cases--case) .work-card>a::before {
  top: calc(100% - var(--corner-inset) - 10px);
  left: var(--corner-inset);
  border-bottom: 2px solid var(--corner-color);
  border-left: 2px solid var(--corner-color);
}

.cases:not(.cases--service):not(.cases--case) .work-card>a::after {
  top: var(--corner-inset);
  left: calc(100% - var(--corner-inset) - 10px);
  border-top: 2px solid var(--corner-color);
  border-right: 2px solid var(--corner-color);
}

@media (hover: hover) {
  .cases:not(.cases--service):not(.cases--case) .work-card>a:hover {
    --corner-color: #fff;
    color: #fff;
    background: #010f77;
    border-color: #010f77;
  }

  .cases:not(.cases--service):not(.cases--case) .work-card>a:hover::before {
    animation: home-corner-before-clockwise .58s cubic-bezier(.45, 0, .2, 1) both;
  }

  .cases:not(.cases--service):not(.cases--case) .work-card>a:hover::after {
    animation: home-corner-after-clockwise .58s cubic-bezier(.45, 0, .2, 1) both;
  }
}

.cases:not(.cases--service):not(.cases--case) .work-card>a:focus-visible {
  --corner-color: #fff;
  color: #fff;
  background: #010f77;
  border-color: #010f77;
}

.cases:not(.cases--service):not(.cases--case) .work-card>a:focus-visible::before {
  animation: home-corner-before-clockwise .58s cubic-bezier(.45, 0, .2, 1) both;
}

.cases:not(.cases--service):not(.cases--case) .work-card>a:focus-visible::after {
  animation: home-corner-after-clockwise .58s cubic-bezier(.45, 0, .2, 1) both;
}

.cases:not(.cases--service):not(.cases--case) .work-carousel,
.cases:not(.cases--service):not(.cases--case) .work-card h3,
.cases:not(.cases--service):not(.cases--case) .work-card p {
  user-select: text;
}

.cases:not(.cases--service):not(.cases--case) .work-card>a::before {
  left: -2px;
}

.cases:not(.cases--service):not(.cases--case) .work-card>a::after {
  top: -2px;
}

.home-video-layout .video-strip {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 650px;
  height: 500px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.home-video-layout .video-strip.is-dragging {
  cursor: grabbing;
}

.video-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.home-video-layout .video-card {
  position: relative;
  display: block;
  width: 100%;
  height: 500px;
  min-height: 0;
  padding: 20px;
  color: #fff;
  background: #010f77;
  text-align: left;
  flex: 0 0 100%;
}

.video-card::before {
  content: none !important;
}

.video-card picture,
.video-card>img {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 20px;
  width: 260px;
  height: 460px;
}

.video-card picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 150px;
  width: 54px;
  height: 54px;
  background: rgba(70, 42, 29, .72);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.video-card.is-clicked {
  animation: home-video-card-click .42s cubic-bezier(.45, 0, .2, 1);
}

.video-card.is-clicked .video-card__play {
  animation: home-video-play-click .42s cubic-bezier(.45, 0, .2, 1);
}

@keyframes home-video-card-click {

  0%,
  100% {
    filter: brightness(1);
  }

  45% {
    filter: brightness(.72);
  }
}

@keyframes home-video-play-click {

  0%,
  100% {
    background: rgba(70, 42, 29, .72);
    transform: translate(-50%, -50%) scale(1);
  }

  45% {
    background: #010f77;
    transform: translate(-50%, -50%) scale(.78);
  }
}

.video-card__play::after {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
  content: "";
  transform: translate(-40%, -50%);
}

.video-card__copy {
  position: absolute;
  top: 60px;
  right: 30px;
  bottom: 50px;
  left: 310px;
  display: flex;
  flex-direction: column;
}

.video-card__copy strong {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.02em;
}

.video-card__copy small {
  margin-top: 20px;
  opacity: .7;
  font-size: 14px;
  line-height: 1;
}

.video-card__copy em {
  margin-top: auto;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
}

.slider-nav {
  position: absolute;
  z-index: 6;
  top: 235px;
  bottom: auto;
  left: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.slider-nav button {
  position: relative;
  width: 60px;
  height: 60px;
  border: 0;
  color: #010f77;
  background: #fafafa;
  font-size: 0;
  transition: color .2s ease, background .2s ease;
}

.slider-nav button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-bottom: 1.5px solid #010f77;
  border-left: 1.5px solid #010f77;
  content: "";
  transform: translate(-35%, -50%) rotate(45deg);
}

.slider-nav button:last-child::before {
  transform: translate(-65%, -50%) rotate(225deg);
}

@media (hover: hover) {
  .slider-nav button:hover {
    color: #fff;
    background: #010f77;
  }

  .slider-nav button:hover::before {
    border-color: #fff;
  }
}

.slider-nav button:focus-visible {
  color: #fff;
  background: #010f77;
}

.slider-nav button:focus-visible::before {
  border-color: #fff;
}

.slider-nav span {
  color: #c4c4c1;
  font-family: var(--font-display);
  white-space: nowrap;
}

.slider-nav b {
  color: #010f77;
  font-size: 24px;
  font-weight: 500;
}

.cases:not(.cases--service):not(.cases--case) .work-carousel {
  position: absolute;
  top: 197px;
  left: 0;
  z-index: 1;
}

.cases:not(.cases--service):not(.cases--case) .slider-nav--works {
  top: 95px;
  right: 0;
  bottom: auto;
  left: auto;
  gap: 10px;
}

.cases:not(.cases--service):not(.cases--case) .slider-nav--works span {
  display: none;
}

.cases:not(.cases--service):not(.cases--case) .slider-nav--works button {
  width: 40px;
  height: 40px;
  background: #fff;
}

@media (max-width: 1359px) and (min-width: 768px) {
  .home-video-layout .video-strip {
    top: 125px;
    left: 37%;
    width: 63%;
    height: 500px;
  }

  .home-video-layout .video-card {
    height: 500px;
  }

  .video-card picture {
    width: 42%;
  }

  .video-card__copy {
    left: 49%;
  }

  .home-video-layout .slider-nav {
    top: 235px;
    bottom: auto;
  }

  .cases:not(.cases--service):not(.cases--case) .work-carousel {
    --carousel-peek: 50px;
    top: 185px;
  }

  .cases:not(.cases--service):not(.cases--case) .work-grid {
    gap: 16px;
  }

  .cases:not(.cases--service):not(.cases--case) .work-card {
    flex-basis: calc((100% + 60px) / 3);
  }

  .cases:not(.cases--service):not(.cases--case) .slider-nav--works {
    top: 118px;
  }
}

@media (max-width: 767px) {
  .home-video-layout .video-strip {
    top: 221px;
    left: 0;
    width: 100%;
    height: 663px;
  }

  .home-video-layout .video-card {
    height: 663px;
    padding: 20px;
  }

  .video-card picture {
    top: 128px;
    right: 20px;
    bottom: auto;
    left: 20px;
    width: auto;
    height: 381px;
  }

  .video-card__play {
    top: 318px;
    left: 50%;
  }

  .video-card__copy {
    inset: 30px 20px 20px;
  }

  .video-card__copy small {
    width: 310px;
    margin-top: 20px;
  }

  .video-card__copy em {
    position: relative;
    top: -20px;
    width: 350px;
    margin-top: auto;
    font-size: 16px;
    line-height: 1;
  }

  .home-video-layout .slider-nav {
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .home-video-layout .slider-nav button::before {
    width: 11px;
    height: 11px;
    border-width: 0 0 2px 2px;
  }

  .cases:not(.cases--service):not(.cases--case) .work-carousel {
    --carousel-peek: 30px;
    top: 133px;
    width: 100%;
  }

  .cases:not(.cases--service):not(.cases--case) .work-grid {
    display: flex;
    width: auto;
    gap: 10px;
    overflow: visible;
  }

  .cases:not(.cases--service):not(.cases--case) .work-card {
    display: block;
    flex-basis: min(390px, 100%);
  }

  .cases:not(.cases--service):not(.cases--case) .work-card h3 {
    margin-top: 20px;
  }

  .cases:not(.cases--service):not(.cases--case) .work-card>a {
    margin-top: 25px;
  }

  .cases:not(.cases--service):not(.cases--case) .slider-nav--works {
    z-index: 20;
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    isolation: isolate;
    pointer-events: auto;
    touch-action: manipulation;
    transform: none;
    justify-content: center;
    position: static;
    margin-top: 30px;
  }

  .cases:not(.cases--service):not(.cases--case) .slider-nav--works button {
    width: 40px;
    height: 40px;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .cases:not(.cases--service):not(.cases--case) .slider-nav--works button::before {
    width: 11px;
    height: 11px;
    border-width: 0 0 2px 2px;
  }

  .cases:not(.cases--service):not(.cases--case) .slider-nav--works button::after {
    position: absolute;
    inset: -4px;
    content: "";
  }
}

@media (max-width: 340px) {

  .video-card__copy small,
  .video-card__copy em {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 429px) {
  .video-card__copy :is(small, em) {
    width: 100%;
    max-width: 100%;
  }
}

.home-video-layout .video-strip {
  position: relative;
  inset: auto;
  width: 650px;
  height: auto;
  min-height: 500px;
  grid-column: 2;
  grid-row: 1;
}

.video-track {
  height: auto;
  min-height: 500px;
  align-items: stretch;
}

.home-video-layout .video-card {
  display: grid;
  height: auto;
  min-height: 500px;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr);
  column-gap: 30px;
  padding: 20px 30px 20px 20px;
}

.video-card picture,
.video-card>img {
  position: relative;
  inset: auto;
  width: 260px;
  height: 460px;
  grid-column: 1;
  grid-row: 1 / 4;
}

.video-card__copy {
  display: contents;
}

.video-card__copy strong {
  grid-column: 2;
  grid-row: 1;
  margin-top: 40px;
}

.video-card__copy small {
  grid-column: 2;
  grid-row: 2;
  width: auto;
  margin-top: 20px;
}

.video-card__copy em {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  width: auto;
  margin-top: 30px;
  margin-bottom: 30px;
}

.home-video-layout>.slider-nav {
  top: 235px;
}

.cases:not(.cases--service):not(.cases--case) .work-carousel {
  position: relative;
  inset: auto;
}

.cases:not(.cases--service):not(.cases--case) .work-grid {
  align-items: stretch;
}

.cases:not(.cases--service):not(.cases--case) .work-card {
  height: auto;
}

@media (min-width: 768px) and (max-width: 1359px) {
  .home-video-layout .video-strip {
    width: 100%;
    grid-row: 1 / 3;
  }

  .home-video-layout>.slider-nav {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: 42px;
  }
}

@media (max-width: 767px) {
  .home-video-layout .video-strip {
    width: 100%;
    min-height: 663px;
    margin-top: 17px;
  }

  .video-track {
    min-height: 663px;
  }

  .home-video-layout .video-card {
    min-height: 663px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 381px auto;
    padding: 30px 20px 20px;
  }

  .video-card picture,
  .video-card>img {
    width: 100%;
    height: 381px;
    grid-column: 1;
    grid-row: 3;
    margin-top: 30px;
  }

  .video-card__copy strong {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0;
  }

  .video-card__copy small {
    grid-column: 1;
    grid-row: 2;
    margin-top: 20px;
  }

  .video-card__copy em {
    grid-column: 1;
    grid-row: 4;
    align-self: start;
    margin: 30px 0 0;
  }

  .video-card__play {
    top: 318px;
  }

  .home-video-layout>.slider-nav {
    position: relative;
    inset: auto;
    width: max-content;
    margin: 40px auto 0;
    transform: none;
  }
}

/* Moved atomically from pages.css. */
.licenses:not(.licenses--about) .certificate-carousel {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.licenses:not(.licenses--about) .certificate-carousel.is-dragging {
  cursor: grabbing;
}

.licenses:not(.licenses--about) .certificate-track {
  display: flex;
  width: max-content;
  gap: 20px;
  will-change: transform;
}

.licenses:not(.licenses--about) .certificate-track img {
  flex: 0 0 238px;
  width: 238px;
  height: 349px;
  object-fit: cover;
}

.licenses:not(.licenses--about) .slider-nav--certificates {
  display: flex;
  align-items: center;
  gap: 20px;
}

.licenses:not(.licenses--about) .slider-nav--certificates button {
  position: relative;
  width: 60px;
  height: 60px;
  padding: 0;
  color: var(--blue);
  background: #fafafa;
  border: 0;
  font-size: 0;
}

.licenses:not(.licenses--about) .slider-nav--certificates button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-bottom: 1.5px solid var(--blue);
  border-left: 1.5px solid var(--blue);
  content: '';
  transform: translate(-35%, -50%) rotate(45deg);
}

.licenses:not(.licenses--about) .slider-nav--certificates button:last-child::before {
  transform: translate(-65%, -50%) rotate(225deg);
}

@media (hover: hover) {
  .licenses:not(.licenses--about) .slider-nav--certificates button:hover {
    background: var(--blue);
  }

  .licenses:not(.licenses--about) .slider-nav--certificates button:hover::before {
    border-color: #fff;
  }
}

.licenses:not(.licenses--about) .slider-nav--certificates button:focus-visible {
  background: var(--blue);
}

.licenses:not(.licenses--about) .slider-nav--certificates button:focus-visible::before {
  border-color: #fff;
}

.licenses:not(.licenses--about) .slider-nav--certificates span {
  color: #c4c4c1;
  font-family: var(--font-display);
  white-space: nowrap;
}

.licenses:not(.licenses--about) .slider-nav--certificates b {
  color: var(--blue);
  font-size: 24px;
  font-weight: 500;
}

@media (min-width: 1360px) {
  .licenses:not(.licenses--about) .certificate-carousel {
    position: absolute;
    top: 94px;
    left: 558px;
    width: 762px;
    height: 349px;
  }

  .licenses:not(.licenses--about) .certificate-track {
    position: static;
    gap: 24px;
  }

  .licenses:not(.licenses--about) .slider-nav--certificates {
    position: absolute;
    top: 384px;
    left: 0;
  }
}

@media (max-width: 1359px) {
  .licenses:not(.licenses--about) .certificate-carousel {
    width: 100%;
    margin-top: 34px;
    overflow: visible;
  }

  .licenses:not(.licenses--about) .certificate-track {
    margin: 0;
    overflow: visible;
  }

  .licenses:not(.licenses--about) .certificate-track img {
    scroll-snap-align: start;
  }

  .licenses:not(.licenses--about) .slider-nav--certificates {
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .licenses:not(.licenses--about) .certificate-track img {
    flex-basis: min(238px, 72vw);
    width: min(238px, 72vw);
  }
}

.cases--service .work-carousel {
  position: relative;
  margin-top: 36px;
}

.cases--service .work-card {
  width: auto;
  height: auto;
  min-height: 0;
}

.cases--service .work-card>a {
  --corner-color: #010f77;
  --corner-inset: -1px;
  position: relative;
}

.cases--service .work-card>a::before,
.cases--service .work-card>a::after {
  position: absolute;
  width: 10px;
  height: 10px;
  background: transparent;
  pointer-events: none;
  content: "";
  transform-origin: center;
}

.cases--service .work-card>a::before {
  top: calc(100% - var(--corner-inset) - 10px);
  left: var(--corner-inset);
  border-bottom: 2px solid var(--corner-color);
  border-left: 2px solid var(--corner-color);
}

.cases--service .work-card>a::after {
  top: var(--corner-inset);
  left: calc(100% - var(--corner-inset) - 10px);
  border-top: 2px solid var(--corner-color);
  border-right: 2px solid var(--corner-color);
}

.cases--service .work-card>a::before {
  left: -2px;
}

.cases--service .work-card>a::after {
  top: -2px;
}

@media (hover: hover) {
  .cases--service .work-card>a:hover {
    --corner-color: #fff;
    color: #fff;
    background: #010f77;
    border-color: #010f77;
  }

  .cases--service .work-card>a:hover::before {
    animation: service-corner-before-clockwise .58s cubic-bezier(.45, 0, .2, 1) both;
  }

  .cases--service .work-card>a:hover::after {
    animation: service-corner-after-clockwise .58s cubic-bezier(.45, 0, .2, 1) both;
  }
}

.cases--service .work-card>a:focus-visible {
  --corner-color: #fff;
  color: #fff;
  background: #010f77;
  border-color: #010f77;
}

.cases--service .work-card>a:focus-visible::before {
  animation: service-corner-before-clockwise .58s cubic-bezier(.45, 0, .2, 1) both;
}

.cases--service .work-card>a:focus-visible::after {
  animation: service-corner-after-clockwise .58s cubic-bezier(.45, 0, .2, 1) both;
}

.cases--service .slider-nav--works {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.cases--service .slider-nav--works>span {
  display: none;
}

.cases--service .slider-nav--works button {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #010f77;
  background: #fff;
  border: 1px solid #c4c4c1;
  font-size: 0;
}

.cases--service .slider-nav--works button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-bottom: 1.5px solid #010f77;
  border-left: 1.5px solid #010f77;
  content: "";
  transform: translate(-35%, -50%) rotate(45deg);
}

.cases--service .slider-nav--works button:last-child::before {
  transform: translate(-65%, -50%) rotate(225deg);
}

@media (hover: hover) {
  .cases--service .slider-nav--works button:hover {
    color: #fff;
    background: #010f77;
  }

  .cases--service .slider-nav--works button:hover::before {
    border-color: #fff;
  }
}

.cases--service .slider-nav--works button:focus-visible {
  color: #fff;
  background: #010f77;
}

.cases--service .slider-nav--works button:focus-visible::before {
  border-color: #fff;
}

@media (min-width: 1360px) {
  .cases--service .work-carousel {
    position: absolute;
    top: 197px;
    left: 0;
    z-index: 1;
    width: 100%;
    margin-top: 0;
    overflow: visible;
  }

  .cases--service .slider-nav--works {
    position: absolute;
    top: 95px;
    right: 0;
    margin-top: 0;
  }
}

@media (min-width: 768px) and (max-width: 1359px) {
  .cases--service .work-carousel {
    --carousel-peek: 50px;
  }

  .cases--service .work-grid {
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .cases--service .work-carousel {
    --carousel-peek: 30px;
    width: 100%;
  }

  .cases--service .work-grid {
    gap: 10px;
    overflow: visible;
  }

  .cases--service .work-card {
    flex-basis: min(390px, 100%);
  }

  .cases--service .work-card>a {
    margin-top: 25px;
  }

  .cases--service .slider-nav--works {
    z-index: 20;
    margin-top: 30px;
    isolation: isolate;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .cases--service .slider-nav--works button {
    width: 40px;
    height: 40px;
    border: 0;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .cases--service .slider-nav--works button::before {
    width: 11px;
    height: 11px;
    border-width: 0 0 2px 2px;
  }

  .cases--service .slider-nav--works button::after {
    position: absolute;
    inset: -4px;
    content: "";
  }
}

@media (max-width: 767px) {
  .cases--service .work-carousel {
    margin-top: 1px;
  }

  .licenses:not(.licenses--about) .certificate-carousel {
    margin-top: 0;
  }

  .licenses:not(.licenses--about) .slider-nav--certificates {
    justify-content: center;
    margin-top: 35px;
  }
}

/* Moved atomically from about.css. */
.licenses--about .certificate-carousel {
  position: relative;
  inset: auto;
  width: calc(100% + max(var(--gutter), calc((100vw - var(--shell)) / 2)));
  max-width: none !important;
  grid-column: 2;
  grid-row: 1 / 4;
  margin-top: 95px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.licenses--about .certificate-carousel::-webkit-scrollbar {
  display: none;
}

.licenses--about .certificate-carousel.is-dragging {
  cursor: grabbing;
}

.licenses--about .certificate-track {
  display: flex;
  width: max-content;
  gap: 24px;
  will-change: transform;
}

.licenses--about .certificate-track>img {
  width: 238px;
  height: auto;
  aspect-ratio: 238 / 349;
  flex: 0 0 238px;
  object-fit: cover;
}

.licenses--about .slider-nav--certificates {
  position: relative;
  inset: auto;
  display: flex;
  width: 214px;
  height: 60px;
  grid-column: 1;
  grid-row: 3;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 99px;
  transform: none;
}

.licenses--about .slider-nav--certificates button {
  width: 60px;
  height: 60px;
  background: #fafafa;
}

.about-gallery__carousel {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  margin-top: 60px;
  overflow: visible;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.about-gallery__carousel.is-dragging {
  cursor: grabbing;
}

.about-gallery__track {
  display: grid;
  width: 100%;
  height: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.about-gallery__panel {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.about-gallery__panel[aria-hidden="true"] {
  display: none;
}

.about-gallery__column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 20px;
}

.about-gallery__image {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: cover;
}

.about-gallery__image--short {
  aspect-ratio: 3 / 2;
}

.about-gallery__image--tall {
  aspect-ratio: 2 / 3;
}

.about-gallery .slider-nav--gallery {
  display: none;
}

@media (min-width: 768px) and (max-width: 1359px) {
  .licenses--about .certificate-carousel {
    width: calc(100% + var(--tablet-side));
    overflow-x: auto;
  }
}

@media (min-width: 880px) and (max-width: 1359px) {
  .about-gallery__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: none !important;
  }
}

@media (min-width: 1360px) {
  .about-gallery__track {
    transform: none !important;
  }
}

@media (max-width: 879px) {
  .about-gallery__carousel {
    --carousel-peek: 0px;
    overflow: hidden;
  }

  html:not(.js) .about-gallery__carousel {
    overflow-x: auto;
  }

  .about-gallery__track {
    display: flex;
    width: auto;
    gap: 20px;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  .about-gallery__panel,
  .about-gallery__panel[aria-hidden="true"] {
    display: grid;
    width: 100%;
    flex: 0 0 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .about-gallery .slider-nav--gallery {
    position: relative;
    inset: auto;
    display: flex;
    width: 90px;
    height: 40px;
    justify-content: space-between;
    gap: 10px;
    margin: 35px auto 0;
    transform: none;
  }

  .about-gallery .slider-nav--gallery button {
    width: 40px;
    height: 40px;
    color: #2a2a2a;
    background: #fff;
  }

  .about-gallery .slider-nav--gallery button::before {
    width: 6px;
    height: 12px;
    background: currentColor;
    border: 0;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 12'%3E%3Cpath d='M1 1l4 5-4 5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 12'%3E%3Cpath d='M1 1l4 5-4 5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: translate(-50%, -50%) scaleX(-1);
  }

  .about-gallery .slider-nav--gallery button:last-child::before {
    transform: translate(-50%, -50%);
  }

  @media (hover: hover) {
    .about-gallery .slider-nav--gallery button:hover {
      color: #fff;
      background: #010f77;
    }
  }

  .about-gallery .slider-nav--gallery button:focus-visible {
    color: #fff;
    background: #010f77;
  }
}

@media (max-width: 767px) {
  .licenses--about .certificate-carousel {
    --carousel-peek: 0px;
    margin-top: 35px;
    margin-left: 0;
  }

  .licenses--about .certificate-track>img {
    width: 238px;
    flex-basis: 238px;
  }

  .licenses--about .slider-nav--certificates {
    margin: 35px auto 0;
  }

  .about-gallery__carousel {
    --carousel-peek: 0px;
    margin-top: 35px;
    overflow: hidden;
  }

  .about-gallery__track {
    display: flex;
    width: auto;
    gap: 10px;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  .about-gallery__panel,
  .about-gallery__panel[inert][aria-hidden="true"] {
    display: grid;
    width: 100%;
    flex: 0 0 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .about-gallery__column {
    gap: 15px;
  }

  .about-gallery__image--short {
    aspect-ratio: 9 / 7;
  }

  .about-gallery__image--tall {
    aspect-ratio: 4 / 7;
  }
}

@media (prefers-reduced-motion: reduce) {

  .about-gallery__track,
  .licenses--about .certificate-track {
    transition: none !important;
  }
}

/* Moved atomically from reviews.css. */
.text-reviews__carousel {
  width: 100%;
  margin-top: 60px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.text-reviews__carousel.is-dragging {
  cursor: grabbing;
}

html:not(.js) .text-reviews__carousel {
  overflow-x: auto;
  scrollbar-gutter: auto;
  scrollbar-width: none;
}

html:not(.js) .text-reviews__carousel::-webkit-scrollbar {
  display: none;
}

.text-reviews__track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  will-change: transform;
}

.text-review-card {
  min-width: 0;
  flex: 0 0 40.7576%;
  padding: 20px 20px 43px;
  background: #fafafa;
}

.text-review-card__person {
  display: grid;
  min-height: 133px;
  grid-template-columns: 119px minmax(0, 1fr);
  gap: clamp(20px, 2.15vw, 31px);
}

.text-review-card__person>img {
  width: 119px;
  height: 133px;
  object-fit: cover;
}

.text-review-card__person>div {
  max-width: 310px;
}

.text-review-card h3 {
  margin: 0;
  color: #010f77;
  font-size: 20px;
  line-height: 1;
}

.text-review-card__person p {
  margin: 20px 0 0;
  color: rgba(48, 48, 48, .7);
  font-size: 12px;
  line-height: 1.15;
}

.text-review-card blockquote {
  width: 100%;
  max-width: 461px;
  margin: 35px 0 0;
  font-size: 16px;
  line-height: 1;
}

.text-reviews__nav {
  position: absolute;
  z-index: 6;
  top: 205px;
  right: 0;
  left: auto;
  display: flex;
  width: 214px;
  align-items: center;
  gap: 18px;
}

.text-reviews__nav button {
  position: relative;
  width: 60px;
  height: 60px;
  padding: 0;
  color: #010f77;
  background: #fafafa;
  border: 0;
  font-size: 0;
  transition: color .2s ease, background .2s ease;
}

.text-reviews__nav button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-bottom: 1.5px solid #010f77;
  border-left: 1.5px solid #010f77;
  content: "";
  transform: translate(-35%, -50%) rotate(45deg);
}

.text-reviews__nav button:last-child::before {
  transform: translate(-65%, -50%) rotate(225deg);
}

@media (hover: hover) {
  .text-reviews__nav button:hover {
    color: #fff;
    background: #010f77;
  }

  .text-reviews__nav button:hover::before {
    border-color: #fff;
  }
}

.text-reviews__nav button:focus-visible {
  color: #fff;
  background: #010f77;
}

.text-reviews__nav button:focus-visible::before {
  border-color: #fff;
}

.text-reviews__nav>span {
  color: #c4c4c1;
  font-family: var(--font-display);
  white-space: nowrap;
}

.text-reviews__nav b {
  color: #010f77;
  font-size: 24px;
  font-weight: 500;
}

@media (min-width: 768px) and (max-width: 1359px) {
  .text-review-card {
    flex-basis: 55%;
  }
}

@media (max-width: 767px) {
  .text-reviews__carousel {
    margin-top: 35px;
  }

  .text-reviews__track {
    gap: 10px;
  }

  .text-review-card {
    flex-basis: 100%;
    padding: 20px 20px 28px;
  }

  .text-review-card__person {
    gap: 20px;
  }

  .text-review-card blockquote {
    width: calc(100% - 6px);
    margin-top: 35px;
    font-size: 14px;
    line-height: 1;
  }

  .text-reviews__nav {
    position: relative;
    inset: auto;
    width: 214px;
    margin: 35px auto 0;
    transform: none;
  }
}

@media (max-width: 410px) {
  .text-review-card {
    padding-right: 16px;
    padding-left: 16px;
  }

  .text-review-card__person {
    grid-template-columns: min(119px, 34vw) minmax(0, 1fr);
    gap: 14px;
  }

  .text-review-card__person>img {
    width: min(119px, 34vw);
  }
}

/* Moved atomically from content-resilience.css. */
[data-carousel-controls][hidden] {
  display: none !important;
}

body main>section.has-empty-collection [data-carousel-controls] {
  display: none !important;
}

html:not(.js) [data-carousel-track] {
  transform: none !important;
}

html:not(.js) :is(.video-strip, .work-carousel, .certificate-carousel, .about-values__viewport, .doctor-grid, .about-gallery__carousel) {
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: visible !important;
}

.cases:not(.cases--service):not(.cases--case) .work-carousel,
.cases--service .work-carousel,
.licenses:not(.licenses--about) .certificate-carousel {
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  margin-top: 72px;
}

@media (max-width: 1359px) {
  .cases:not(.cases--service):not(.cases--case) .work-carousel {
    margin-top: 57px;
  }
}

@media (min-width: 1360px) {
  .licenses:not(.licenses--about) .certificate-carousel {
    grid-column: 2;
    grid-row: 1 / 3;
    margin-top: 35px;
  }

  .cases:not(.cases--service):not(.cases--case) .work-carousel {
    margin-top: 50px;
  }

  .cases:not(.cases--service):not(.cases--case) .work-carousel {
    margin-top: 50px;
  }
}

@media (max-width: 767px) {

  .cases:not(.cases--service):not(.cases--case) .work-carousel,
  .cases--service .work-carousel,
  .licenses:not(.licenses--about) .certificate-carousel {
    margin-top: 25px;
  }

  .cases:not(.cases--service):not(.cases--case) .work-carousel {
    margin-top: 43px;
  }
}

/* Moved atomically from doctor.css. */
.doctor-certificates {
  width: 710px;
  min-width: 0;
  height: 349px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.doctor-certificates.is-dragging {
  cursor: grabbing;
}

html:not(.js) .doctor-certificates {
  max-width: none;
  overflow-x: auto;
  scrollbar-gutter: auto;
  scrollbar-width: none;
}

html:not(.js) .doctor-certificates::-webkit-scrollbar {
  display: none;
}

.doctor-certificates__track {
  display: flex;
  width: max-content;
  gap: 20px;
  will-change: transform;
}

.doctor-certificates__track>img {
  width: 238px;
  max-width: none;
  height: 349px;
  flex: 0 0 238px;
  object-fit: cover;
}

.doctor-carousel-controls {
  z-index: 1;
  display: flex;
  width: 140px;
  align-items: center;
  gap: 20px;
  height: 60px;
  margin-top: 96px;
  align-self: start;
  grid-area: controls;
}

.doctor-carousel-controls button {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  padding: 0;
  background: #fafafa center / 9px 18px no-repeat;
  border: 0;
  font-size: 0;
  transition: background-color .2s ease;
}

.doctor-carousel-controls button:first-child {
  background-image: url('../../media/doctor/slider-arrow-left.svg');
}

.doctor-carousel-controls button:last-child {
  background-image: url('../../media/doctor/slider-arrow-right.svg');
}

@media (hover: hover) {
  .doctor-carousel-controls button:hover {
    background-color: #fff;
  }
}

.doctor-carousel-controls button:focus-visible {
  background-color: #fff;
}

.doctor-carousel-controls__count {
  display: none;
  width: 54px;
  color: #c4c4c1;
  font-family: var(--font-display);
  white-space: nowrap;
}

.doctor-carousel-controls__count b {
  color: #010f77;
  font-size: 24px;
  font-weight: 500;
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .doctor-certificates {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .doctor-certificates {
    width: calc(100% + (var(--doctor-gutter) * 2));
    margin-inline-start: calc(var(--doctor-gutter) * -1);
    margin-top: 60px;
    scroll-padding-inline-start: var(--doctor-gutter);
  }

  .doctor-certificates__track {
    padding-inline-start: var(--doctor-gutter);
  }

  .doctor-carousel-controls {
    width: max-content;
    margin: 35px auto 0;
  }

  .doctor-carousel-controls__count {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
  }
}

@media (max-width: 767px) {
  .doctor-certificates {
    width: calc(100% + (var(--doctor-gutter) * 2));
    margin-inline-start: calc(var(--doctor-gutter) * -1);
    margin-top: 57px;
    scroll-padding-inline-start: var(--doctor-gutter);
  }

  .doctor-certificates__track {
    gap: 24px;
    padding-inline-start: var(--doctor-gutter);
  }

  .doctor-carousel-controls {
    width: max-content;
    margin: 35px auto 0;
    transform: translateX(6px);
  }

  .doctor-carousel-controls__count {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doctor-certificates {
    scroll-behavior: auto;
  }

  .doctor-certificates__track {
    transition: none !important;
  }
}