/* ORLOV KAMEN — contact controls and opening-video polish, 2026-09-17 */

/* These controls live on a light section; use a distinct but restrained outline. */
#designer-contact .contact-method {
  min-height: 60px;
  border: 1px solid #8f8377;
  background: rgba(255, 253, 249, .92);
  color: #171512;
  box-shadow: 0 7px 22px rgba(35, 29, 24, .07), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease;
}

#designer-contact .contact-method span:first-child {
  color: #171512;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

#designer-contact .contact-method span:last-child {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  border: 1px solid #171512;
  border-radius: 50%;
  background: #171512;
  color: #fffaf3;
  font-size: 17px;
  line-height: 1;
}

#designer-contact .contact-method:hover {
  transform: translateY(-2px);
  border-color: #73695f;
  background: #fff;
  box-shadow: 0 11px 28px rgba(35, 29, 24, .09);
}

#designer-contact .contact-method:focus-visible {
  outline: 2px solid #73695f;
  outline-offset: 3px;
}

/* Keep native video UI fully hidden. A clean poster cover stays visible until
   the first moving frame is confirmed. This also handles iOS Low Power Mode. */
.hero-media {
  background-color: #171512;
  background-image: url("hero-poster.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero--catalog .hero-media,
.hero-media--catalog-product-video {
  background-image: url("interior-products-video-poster.jpg");
}

.hero--designer-video .hero-media {
  background-image: url("designer-kitchen-project-poster.jpg");
}

.hero-media video.hero-video {
  background-color: #171512;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  opacity: 0 !important;
  transition: opacity .22s ease;
}

.hero-media.orlov-video-playing video.hero-video,
.hero-media.orlov-video-playing video.catalog-cycle-video.is-active {
  opacity: 1 !important;
}

.orlov-video-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: #171512;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.04);
  opacity: 1;
  transition: opacity .22s ease;
}

.hero-media.orlov-video-playing > .orlov-video-poster {
  opacity: 0;
  visibility: hidden;
}

/* Background videos must never expose browser playback UI. */
.hero-media video,
.hero-media video[controls] {
  pointer-events: none !important;
}

.hero-media video::-webkit-media-controls,
.hero-media video::-webkit-media-controls-panel,
.hero-media video::-webkit-media-controls-overlay-play-button,
.hero-media video::-webkit-media-controls-start-playback-button,
.hero-media video::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
}

@media (max-width: 680px) {
  #designer-contact .contact-buttons {
    gap: 9px;
  }

  #designer-contact .contact-method {
    min-height: 54px;
    padding: 8px 9px 8px 16px;
  }

  #designer-contact .contact-method span:first-child {
    font-size: 12px;
  }

  #designer-contact .contact-method span:last-child {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 15px;
  }
}
