/* Motion & Video — Our Expert Services (video-animation-v1) */
body.motion-video-page {
  --va-section-y: clamp(72px, 8vw, 96px);
}

body.motion-video-page .va-expert-band {
  position: relative;
  overflow: visible;
  background-color: #f6f6fc;
  background-image: url("../images/what-we-do/video-animation/service-section-bg123.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #0f123c;
  padding-top: var(--va-section-y);
  padding-bottom: var(--va-section-y);
  border: none;
}

body.motion-video-page .va-expert-band::before,
body.motion-video-page .va-expert-band::after {
  display: none;
}

body.motion-video-page .va-expert-band .container {
  position: relative;
  z-index: 1;
}

body.motion-video-page .va-expert-band__head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

body.motion-video-page .va-expert-badge,
body.motion-video-page .va-expert-panel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border-radius: 999px;
  border: none;
  background: var(--green);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: none;
  margin-bottom: 18px;
}

body.motion-video-page .va-expert-panel-badge {
  padding: 6px 14px;
  font-size: 10px;
  margin-bottom: 14px;
}

body.motion-video-page .va-expert-band h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 16px;
  color: #0f123c;
}

body.motion-video-page .va-expert-band h2 em,
body.motion-video-page .va-expert-band__panel h3 em {
  font-style: italic;
  color: #454da1;
}

body.motion-video-page .va-expert-band__intro {
  color: #64748b;
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
  max-width: 740px;
}

body.motion-video-page .va-expert-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 52px;
  padding: 4px;
  border-radius: 12px;
  background: #e8e8f6;
  border: 1px solid #d9daef;
  box-sizing: border-box;
}

body.motion-video-page .va-expert-tab {
  border: 0;
  background: transparent;
  color: #7878a0;
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.25s ease;
  white-space: nowrap;
  box-shadow: none;
  letter-spacing: 0;
}

body.motion-video-page .va-expert-tab:hover:not(.active) {
  color: #454da1;
  background: transparent;
  transform: none;
}

body.motion-video-page .va-expert-tab.active {
  background: #fff;
  color: #454da1;
  box-shadow: none;
  border: none;
}

body.motion-video-page .va-expert-panel {
  display: none;
}

body.motion-video-page .va-expert-panel.active {
  display: block;
}

body.motion-video-page .va-expert-band__panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

body.motion-video-page .va-expert-band__panel h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  margin: 0 0 16px;
  color: #0f123c;
  line-height: 1.15;
}

body.motion-video-page .va-expert-band__panel-lead {
  color: #64748b;
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 22px;
}

body.motion-video-page .va-expert-band__panel-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}

body.motion-video-page .va-expert-band__panel-list li {
  position: relative;
  padding: 0 0 0 26px;
  color: #334155;
  font-size: 13.5008px;
  line-height: 1.6;
}

body.motion-video-page .va-expert-band__panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.45);
  box-shadow: inset 0 0 0 3px #fff;
}

body.motion-video-page .va-expert-band__panel-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.45em + 4px);
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

body.motion-video-page .va-expert-band__panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

body.motion-video-page .va-expert-band__panel-actions .btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
  transition: all 0.2s;
}

body.motion-video-page .va-expert-band__panel-actions .btn-green:hover {
  background: #15803d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
}

body.motion-video-page .va-expert-band__panel-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  color: #0f123c;
  border-bottom: 1px dashed rgba(15, 18, 60, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

body.motion-video-page .va-expert-band__panel-actions .btn-ghost:hover {
  color: #454da1;
  background: transparent;
  border-bottom-color: rgba(69, 77, 161, 0.55);
  transform: none;
  box-shadow: none;
}

body.motion-video-page .va-expert-band__panel-art {
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
  overflow: visible;
  max-height: none;
  aspect-ratio: auto;
  width: 100%;
  max-width: min(520px, 100%);
  margin-left: auto;
  margin-right: auto;
}

body.motion-video-page .va-expert-browser {
  position: relative;
  width: 100%;
  max-width: min(520px, 100%);
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  padding: 14px 14px 16px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--midnight), var(--turquoise)) border-box;
  border: 2px solid transparent;
  box-shadow:
    0 28px 64px rgba(124, 58, 237, 0.28),
    0 10px 28px rgba(69, 77, 161, 0.12);
}

body.motion-video-page .va-expert-browser__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px 4px;
}

body.motion-video-page .va-expert-browser__chrome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

body.motion-video-page .va-expert-browser__chrome span:nth-child(1) {
  background: #ff6b7a;
}

body.motion-video-page .va-expert-browser__chrome span:nth-child(2) {
  background: #ffb84d;
}

body.motion-video-page .va-expert-browser__chrome span:nth-child(3) {
  background: #3dd68c;
}

body.motion-video-page .va-expert-browser__stage {
  position: relative;
  min-height: clamp(300px, 38vw, 400px);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  overflow: visible;
  padding: 12px;
  overflow: hidden;
}

body.motion-video-page .va-expert-browser__stage img,
body.motion-video-page .va-expert-browser__stage video {
  position: absolute;
  inset: auto;
  z-index: 2;
  min-width: 100%;
  top: 0;
  height: 100%;
  max-height: clamp(280px, 36vw, 380px);
  object-fit: contain;
  object-position: center bottom;
  display: block;
  background: #fff;
  border-radius: 10px;
  min-height: 100%;
}

body.motion-video-page .va-expert-browser__spark {
  position: absolute;
  z-index: 1;
  color: #a78bfa;
  font-size: 14px;
  line-height: 1;
  opacity: 0.85;
  pointer-events: none;
}

body.motion-video-page .va-expert-browser__spark--1 {
  left: 24%;
  top: 18%;
  font-size: 12px;
}

body.motion-video-page .va-expert-browser__spark--2 {
  right: 28%;
  top: 22%;
  font-size: 16px;
}

body.motion-video-page .va-expert-browser__spark--3 {
  left: 42%;
  bottom: 22%;
  font-size: 11px;
}

body.motion-video-page .va-expert-browser__spark--4 {
  right: 18%;
  bottom: 28%;
  font-size: 13px;
}

@media (min-width: 901px) {
  body.motion-video-page .va-expert-tabs {
    flex-wrap: nowrap;
  }

  body.motion-video-page .va-expert-tab {
    flex: 0 0 auto;
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  body.motion-video-page .va-expert-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: visible;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 28px;
    padding-bottom: 0;
    gap: 4px;
  }

  body.motion-video-page .va-expert-band__panel-actions .btn-ghost {
    align-self: center;
  }

  body.motion-video-page .va-expert-tab {
    flex: 1 1 calc(50% - 4px);
    min-width: calc(50% - 4px);
    max-width: calc(50% - 4px);
    white-space: normal;
    padding: 9px 8px;
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
  }

  body.motion-video-page .va-expert-band__panel {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
    justify-items: center;
  }

  body.motion-video-page .va-expert-band__panel > div:first-child {
    min-width: 0;
    width: 100%;
    justify-self: stretch;
  }

  body.motion-video-page .va-expert-band__panel-art {
    justify-self: center;
    width: min(360px, 100%);
    max-width: 100%;
    margin-inline: auto;
  }

  body.motion-video-page .va-expert-browser__stage {
    min-height: 240px;
    padding: 10px;
  }

  body.motion-video-page .va-expert-browser__stage img,
  body.motion-video-page .va-expert-browser__stage video {
    max-height: 220px;
  }

  body.motion-video-page .va-expert-band__panel-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  body.motion-video-page .va-expert-band__panel-actions .btn-green {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body.motion-video-page .va-expert-tabs {
    flex-direction: column;
  }

  body.motion-video-page .va-expert-tab {
    width: 100%;
    max-width: 100%;
  }
}
