/* VIDEO SHAIKA — editable cinematic services presentation. */
.production-agency { background: #0c0c0c; }
html.pm .service-offer.production-agency {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 108px 36px 42px;
}
html[data-theme="dusk"] .production-agency .offer-box.agency-frame,
.production-agency .offer-box.agency-frame {
  position: relative;
  display: block;
  flex: none;
  width: min(100%, 1600px);
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 185, 136, .15);
  border-radius: 2px;
  background: #101010;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
}
html.pm .production-agency .offer-box.agency-frame {
  width: min(100%, 1600px, calc((100svh - 195px) * 1.7778));
}
.agency-backgrounds,
.agency-vignette { position: absolute; inset: 0; }
.agency-backgrounds { z-index: 1; overflow: hidden; }
.agency-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.05);
  will-change: opacity, transform;
  transition: opacity 1.1s ease, transform 10s cubic-bezier(.15,.55,.22,1);
}
.agency-background.is-active { opacity: 1; transform: scale(1); }
.agency-vignette {
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,7,7,.86), rgba(7,7,7,.52) 48%, rgba(7,7,7,.73)),
    linear-gradient(0deg, rgba(0,0,0,.76), transparent 42%),
    radial-gradient(ellipse at center, transparent 24%, rgba(0,0,0,.37));
}
.agency-ui {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  gap: clamp(18px, 2.4vw, 36px);
  width: 100%;
  height: 100%;
  padding: clamp(28px, 4vw, 60px);
  color: #f7f4ee;
  pointer-events: none;
}
.agency-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: #d4b988;
  font: 600 clamp(10px, .82vw, 13px)/1.2 "Onest", sans-serif;
  letter-spacing: .34em;
}
.agency-kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.agency-main {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  align-items: center;
  gap: clamp(30px, 5vw, 95px);
  min-height: 0;
}
.agency-intro { align-self: end; padding-bottom: clamp(16px, 4vw, 60px); }
.agency-title {
  max-width: 760px;
  margin: 0 0 20px;
  color: #fff;
  font: 400 clamp(42px, 4vw, 76px)/.98 Georgia, "Times New Roman", serif !important;
  letter-spacing: -.055em !important;
}
.agency-title em { color: #d4b988; font-weight: 400; }
.agency-description {
  max-width: 480px;
  margin: 0;
  color: #b8b4b5;
  font: 400 clamp(14px, 1.15vw, 18px)/1.52 "Onest", sans-serif;
}
.agency-cards { display: grid; align-self: center; min-width: 0; }
.agency-card {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: clamp(270px, 30vw, 440px);
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(28,27,28,.83), rgba(16,16,16,.74));
  box-shadow: 0 24px 70px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transition: opacity .8s ease;
}
.agency-card.is-active { opacity: 1; }
.agency-card__tag {
  margin: 0 0 22px;
  color: #d4b988;
  font: 600 clamp(10px,.82vw,13px)/1.3 "Onest", sans-serif;
  letter-spacing: .2em;
}
.agency-card__title {
  margin: 0 0 16px;
  color: #fff;
  font: 400 clamp(28px, 2.5vw, 42px)/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}
.agency-card__description {
  margin: 0;
  color: #bcb9ba;
  font: 400 clamp(13px,1.12vw,17px)/1.55 "Onest", sans-serif;
}
.agency-card__result {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,.17);
  color: #f6f4f2;
  font: 600 clamp(12px,1vw,15px)/1.5 "Onest", sans-serif;
}
.agency-card__check { flex: none; color: #d4b988; font-size: 21px; font-weight: 400; line-height: 1; }
.agency-card__note { display: block; margin-top: 14px; color: #989394; font: 400 10px/1.35 "Onest", sans-serif; }
.agency-card.is-active .agency-card__content { animation: agency-reveal .8s ease .18s both; }
@keyframes agency-reveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.agency-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.agency-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: min(100%, 610px);
  padding: 6px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(8,8,8,.87);
  pointer-events: auto;
  scrollbar-width: none;
}
.agency-tabs::-webkit-scrollbar { display: none; }
.agency-tab {
  flex: none;
  min-width: clamp(86px, 8vw, 125px);
  min-height: 46px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #a8a5a6;
  cursor: pointer;
  font: 600 13px/1.2 "Onest", sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: color .25s, background .25s;
}
.agency-tab:hover,
.agency-tab:focus-visible { color: #fff; outline: 1px solid #d4b988; outline-offset: -2px; }
.agency-tab.is-active { color: #d4b988; background: #2a2929; }
.agency-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 14px clamp(20px, 2vw, 28px);
  border: 1px solid #d4b988;
  border-radius: 999px;
  background: #d4b988;
  color: #101010;
  white-space: nowrap;
  text-decoration: none;
  font: 600 14px/1.2 "Onest", sans-serif;
  letter-spacing: .01em;
  pointer-events: auto;
  transition: transform .25s, box-shadow .3s, background .25s;
}
.agency-cta__arrow { font-size: 18px; font-weight: 400; line-height: 1; transition: transform .3s ease; }
.agency-cta:hover,
.agency-cta:focus-visible { transform: translateY(-3px) scale(1.015); background: #e1c99d; box-shadow: 0 11px 24px rgba(0,0,0,.28); outline: 2px solid #fff; outline-offset: 3px; }
.agency-cta:hover .agency-cta__arrow,
.agency-cta:focus-visible .agency-cta__arrow { transform: translate(3px,-3px); }

@media (min-width: 901px) and (max-height: 720px) {
  .agency-ui { gap: 12px; padding: clamp(22px, 3vw, 36px); }
  .agency-title { font-size: clamp(38px, 4vw, 64px) !important; margin-bottom: 12px; }
  .agency-intro { padding-bottom: 12px; }
  .agency-card { min-height: 0; padding: 24px; }
  .agency-card__tag { margin-bottom: 12px; }
  .agency-card__description { font-size: 13px; }
  .agency-card__result { margin-top: 12px; padding-top: 12px; }
  .agency-tab { min-height: 38px; }
  .agency-cta { min-height: 48px; }
}

@media (max-width: 900px) {
  html.pm .service-offer.production-agency { display: block; padding: 76px 16px 28px; }
  html[data-theme="dusk"] .production-agency .offer-box.agency-frame,
  .production-agency .offer-box.agency-frame,
  html.pm .production-agency .offer-box.agency-frame {
    width: 100%;
    min-height: min(100svh, 780px);
    aspect-ratio: auto;
  }
  .agency-vignette { background: linear-gradient(180deg, rgba(8,8,8,.66), rgba(8,8,8,.7) 55%, rgba(8,8,8,.9)); }
  .agency-ui { display: flex; flex-direction: column; gap: 24px; height: auto; min-height: min(100svh, 780px); padding: 34px 24px 42px; }
  .agency-main { display: flex; flex: 1; flex-direction: column; align-items: stretch; gap: 28px; }
  .agency-intro { align-self: auto; padding: 0; }
  .agency-title { max-width: 650px; margin-bottom: 16px; font-size: clamp(40px, 7vw, 62px) !important; }
  .agency-description { max-width: 620px; }
  .agency-cards { align-self: auto; }
  .agency-card { min-height: 300px; }
  .agency-bottom { flex-direction: column; align-items: stretch; gap: 16px; }
  .agency-tabs { width: 100%; max-width: 100%; }
  .agency-tab { flex: 1 0 auto; }
  .agency-cta { width: 100%; }
}

@media (max-width: 480px) {
  .agency-ui { padding: 28px 18px 34px; gap: 20px; }
  .agency-kicker { letter-spacing: .25em; }
  .agency-main { gap: 22px; }
  .agency-title { font-size: clamp(36px, 9.5vw, 50px) !important; }
  .agency-description { font-size: 13px; }
  .agency-card { min-height: 315px; padding: 22px; }
  .agency-card__tag { margin-bottom: 14px; }
  .agency-card__title { font-size: 32px; }
  .agency-card__description { font-size: 13px; }
  .agency-card__result { margin-top: 16px; padding-top: 15px; font-size: 12px; }
  .agency-tabs { gap: 2px; padding: 4px; }
  .agency-tab { min-width: 82px; min-height: 44px; padding: 9px 12px; font-size: 11px; }
  .agency-cta { min-height: 54px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .agency-background,.agency-card,.agency-card__content,.agency-tab,.agency-cta,.agency-cta__arrow { animation: none !important; transition-duration: .01ms !important; }
}
