/* Reference-inspired blocks blended with DMUT theme */

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius, 12px);
  aspect-ratio: var(--video-aspect, 9 / 16);
  max-height: var(--video-max-h, min(52vh, 420px));
  background: linear-gradient(180deg, #f7f5ff 0%, #eef2ff 100%);
}

.video-frame--stage {
  max-height: var(--video-max-h, min(46vh, 400px));
}

.hero-art {
  position: relative;
  isolation: isolate;
  padding: clamp(12px, 1.7vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(246, 243, 255, 0.42)),
    radial-gradient(circle at 74% 19%, rgba(146, 121, 255, 0.2), transparent 15rem);
  box-shadow:
    0 34px 78px rgba(85, 73, 143, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  transform-origin: center;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% -2% 1% 12%;
  z-index: -1;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(104, 83, 255, 0.22), rgba(255, 255, 255, 0.1));
  filter: blur(12px);
  transform: translate(14px, 18px) rotate(-2deg);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: auto 12% -26px 12%;
  z-index: -2;
  height: 58px;
  border-radius: 50%;
  background: rgba(104, 83, 255, 0.18);
  filter: blur(18px);
}

.hero-art img {
  width: 100%;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow:
    0 20px 42px rgba(56, 68, 102, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.work-video-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.work-video-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.work-video-media {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius, 12px) - 2px);
  background: linear-gradient(180deg, #f7f5ff, #eef2ff);
}

.work-video-card h3 {
  margin: 0;
  font-size: 15px;
}

.work-video-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.video-frame video,
.video-frame img,
.profile-media video,
.hero-video-card video,
.service-preview.v-player video,
.service-preview.v-player img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Hero device keeps its own sizing from main.css */
.device-screen video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 13.2;
  object-fit: cover;
  object-position: center 20%;
}

.video-frame .video-play-button,
.hero-video-card .video-play-button,
.service-preview .video-play-button {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: 2;
}

[data-video-player].is-playing .video-play-button {
  opacity: 0;
  pointer-events: none;
}

.business-use-media img,
.hero-art img,
.faq-art img,
.work-card img,
.niche-card-media img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.work-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.work-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius, 12px) - 2px);
}

.work-card h3 {
  margin: 0;
  font-size: 16px;
}

.work-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.niche-play-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(104, 83, 255, 0.92);
  color: #fff;
  font-size: 12px;
  box-shadow: 0 8px 20px rgba(56, 68, 102, 0.18);
}

.avatar-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: stretch;
}

.avatar-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.avatar-option {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 26px;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 10px 12px;
  border: 1px solid var(--line, #e1e7f4);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  text-align: start;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(78, 91, 126, 0.06);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.avatar-option.is-active {
  border-color: var(--accent, #6853ff);
  box-shadow: 0 0 0 3px rgba(104, 83, 255, 0.12), var(--soft-shadow, 0 12px 30px rgba(56, 68, 102, 0.09));
}

.avatar-option img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius, 12px);
  object-fit: cover;
  object-position: center 20%;
}

.avatar-option span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.avatar-option b {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.avatar-option > i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent, #6853ff);
  color: #fff;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.avatar-option.is-active > i {
  opacity: 1;
}

.avatar-option.create {
  grid-template-columns: 38px minmax(0, 1fr);
}

.avatar-option.create > i {
  width: 38px;
  height: 38px;
  border-radius: var(--radius, 12px);
  background: #f3f1ff;
  color: var(--accent, #6853ff);
  opacity: 1;
}

.avatar-profile {
  display: grid;
  grid-template-columns: minmax(200px, 252px) minmax(240px, 1fr);
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line, #e1e7f4);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow, 0 12px 30px rgba(56, 68, 102, 0.09));
}

.profile-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius, 12px);
}

.profile-media video,
.profile-media img {
  min-height: 0;
}

.profile-play {
  z-index: 4;
}

.profile-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
}

.profile-copy h3,
.profile-copy .role,
.profile-copy .lang,
.profile-copy > p,
.profile-copy ul,
.profile-copy .btn {
  margin: 0;
}

.profile-copy h3 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.profile-copy .role {
  color: var(--accent, #6853ff);
  font-weight: 500;
}

.profile-copy .lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f3f1ff;
  color: #6051d8;
  font-size: 12px;
  font-weight: 500;
}

.profile-copy ul {
  display: grid;
  gap: 8px;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  list-style: none;
}

.profile-copy li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent, #6853ff);
}

.faq-shell {
  display: grid;
  grid-template-columns: minmax(200px, 0.5fr) minmax(0, 1.5fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
}

.faq-art {
  display: grid;
  min-height: 240px;
  place-items: center;
}

.faq-art img {
  width: min(280px, 100%);
  max-height: 320px;
  aspect-ratio: auto;
  border-radius: 28px;
  object-fit: contain;
  box-shadow: 0 24px 50px rgba(104, 83, 255, 0.14);
}

.faq-content .section-head {
  text-align: start;
  margin-bottom: 20px;
}

.contact-panel.contact-upgrade {
  grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(22px, 5vw, 56px);
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid #dfe5ff;
  border-radius: var(--radius-shell);
  background:
    radial-gradient(circle at 18% 18%, rgba(104, 83, 255, 0.14), transparent 14rem),
    radial-gradient(circle at 86% 40%, rgba(146, 121, 255, 0.12), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 236, 255, 0.84));
  box-shadow: var(--shadow, 0 22px 58px rgba(56, 68, 102, 0.12));
  overflow: hidden;
  min-width: 0;
}

.contact-upgrade .cta-copy {
  min-width: 0;
  overflow: hidden;
}

.contact-upgrade .cta-label {
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(104, 83, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--accent, #6853ff);
  font-size: 12px;
  font-weight: 500;
}

.contact-upgrade h2 {
  max-width: 420px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.14;
}

.cta-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.cta-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 11px;
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.76);
  color: #38435e;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 8px 18px rgba(78, 91, 126, 0.06);
  white-space: nowrap;
}

.cta-benefits i {
  color: var(--accent, #6853ff);
}

/* Contact benefits: same marquee as hero on mobile; static chips on desktop. */
.cta-benefits.hero-marquee {
  max-width: 100%;
  width: 100%;
  margin-top: 18px;
  overflow: hidden;
  min-width: 0;
}

.cta-benefits.hero-marquee .hero-marquee-track span {
  min-height: 38px;
  padding: 7px 11px;
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.76);
  color: #38435e;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(78, 91, 126, 0.06);
}

.cta-benefits.hero-marquee .hero-marquee-track i {
  color: var(--accent, #6853ff);
}

@media (min-width: 761px) {
  .cta-benefits.hero-marquee {
    overflow: visible;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .cta-benefits.hero-marquee::before,
  .cta-benefits.hero-marquee::after {
    display: none;
  }

  .cta-benefits.hero-marquee .hero-marquee-track {
    display: flex;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    gap: 8px;
    padding: 0;
    animation: none;
  }

  .cta-benefits.hero-marquee .ticker-copy {
    display: contents;
  }

  .cta-benefits.hero-marquee .ticker-copy[aria-hidden="true"] {
    display: none;
  }
}

.contact-upgrade .contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(226, 231, 242, 0.9);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 28px rgba(78, 91, 126, 0.08);
}

.contact-upgrade .contact-form > input[type="hidden"] {
  display: none;
}

.contact-upgrade .contact-form > input:not([type="hidden"]) {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contact-upgrade .contact-form .full,
.contact-upgrade .contact-form textarea,
.contact-upgrade .contact-form button,
.contact-upgrade .contact-form .form-consent {
  grid-column: 1 / -1;
}

/* Services page */
.services-hero {
  padding-top: clamp(28px, 5vw, 48px);
}

.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
}

.services-hero-art img {
  width: 100%;
  border-radius: var(--radius, 12px);
  box-shadow: var(--soft-shadow);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.hero-points b {
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 1060px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 300px;
  padding: 26px 22px;
  border: 1px solid rgba(225, 231, 244, 0.9);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(56, 68, 102, 0.12);
}

.service-card > i {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: var(--radius, 12px);
  background: #f0edff;
  color: var(--accent);
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(104, 83, 255, 0.12);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.service-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.service-card ul {
  flex: 1 1 auto;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
}

.service-card li {
  padding: 5px 10px;
  border-radius: 999px;
  background: #f4f7ff;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.service-card a,
.service-card button {
  margin-top: auto;
  padding-top: 4px;
  justify-self: start;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
  padding-right: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(104, 83, 255, 0.12);
  border-radius: var(--radius, 12px);
  background: linear-gradient(135deg, rgba(245, 242, 255, 0.96), rgba(255, 255, 255, 0.84));
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

/* Блок цифр на странице услуг — отдельно от metric-strip на AI-аватарах */
.metric-strip--stats article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 16px;
  align-items: center;
  min-height: 118px;
  padding: 22px 28px;
  border-right: 1px solid rgba(104, 83, 255, 0.12);
  background: transparent;
}

.metric-strip--stats article:last-child {
  border-right: 0;
}

.metric-strip--stats i {
  grid-row: 1 / span 2;
  grid-column: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(78, 91, 126, 0.1);
}

.metric-strip--stats strong {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0;
  color: var(--accent);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  font-weight: 500;
}

.metric-strip--stats span {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #2d3955;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 1060px) {
  .metric-strip--stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-strip--stats article {
    border-bottom: 1px solid rgba(104, 83, 255, 0.12);
  }

  .metric-strip--stats article:nth-child(2n) {
    border-right: 0;
  }

  .metric-strip--stats article:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .metric-strip--stats {
    grid-template-columns: 1fr;
  }

  .metric-strip--stats article {
    min-height: 96px;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(104, 83, 255, 0.12);
  }

  .metric-strip--stats article:last-child {
    border-bottom: 0;
  }
}

.metric-strip article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px 16px;
  align-items: center;
  min-height: 118px;
  padding: 22px 24px;
  border-right: 1px solid rgba(104, 83, 255, 0.12);
}

.metric-strip article:last-child {
  border-right: 0;
}

.metric-strip i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--accent);
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(78, 91, 126, 0.08);
}

.metric-strip strong {
  font-size: 22px;
}

.metric-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
  transition: transform 0.18s ease;
}

.process-step:hover {
  transform: translateY(-2px);
}

.process-step span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 12px;
  background: #f0edff;
  color: var(--accent);
  font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(104, 83, 255, 0.1);
}

.process-step small {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-weight: 500;
}

.process-step h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.process-step p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-row h2 {
  margin: 0;
}

.link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
  font-size: 13px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.cta-panel.services-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 4vw, 32px);
  border-radius: var(--radius, 12px);
  background: linear-gradient(135deg, #0b1733, #1a2f5f);
  color: #fff;
}

.cta-panel.services-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-light {
  background: #fff;
  color: #0b1733;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

/* Avatar single page */
.service-detail .detail-hero {
  padding-top: clamp(24px, 4vw, 40px);
}

.detail-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-video-card {
  position: relative;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 18px;
  background: #111827;
  box-shadow: 0 24px 62px rgba(18, 30, 61, 0.18);
}

.hero-video-card.v-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.benefit-strip article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.benefit-strip i {
  color: var(--accent);
  margin-bottom: 8px;
}

.benefit-strip b {
  display: block;
  margin-bottom: 4px;
}

.benefit-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mini-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.mini-card i {
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 20px;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.usage-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.88);
}

.usage-card i {
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-card {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.88);
}

.timeline-card article b {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
}

.included-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 18px;
}

.included-list {
  display: grid;
  gap: 10px;
}

.included-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 500;
}

.included-list i {
  color: var(--accent);
}

.ethics-card {
  padding: 22px;
  border-radius: var(--radius, 12px);
  background: linear-gradient(180deg, #f7f5ff, #eef2ff);
  border: 1px solid #dfe5ff;
}

.ethics-card i {
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 10px;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tariff-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.tariff-card.is-popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(104, 83, 255, 0.1), var(--soft-shadow);
}

.tariff-card em {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0edff;
  color: var(--accent);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.tariff-card h3 {
  margin: 0;
  font-size: 28px;
}

.tariff-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.niche-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.niche-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.niche-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.niche-card-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius, 12px);
  min-height: 140px;
}

.niche-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.niche-card h3 {
  margin: 0 0 6px;
}

.niche-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 1060px) {
  .avatar-showcase,
  .faq-shell,
  .services-hero-grid,
  .included-layout {
    grid-template-columns: 1fr;
  }

  .metric-strip:not(.metric-strip--stats),
  .process-grid,
  .benefit-strip,
  .timeline-card,
  .tariff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-grid,
  .usage-grid,
  .services-grid,
  .niche-card-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .avatar-showcase {
    gap: 16px;
  }

  .avatar-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .avatar-list::-webkit-scrollbar {
    display: none;
  }

  .avatar-option {
    flex: 0 0 min(280px, 82vw);
    scroll-snap-align: start;
    min-height: 84px;
  }

  .work-video-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .work-video-rail::-webkit-scrollbar {
    display: none;
  }

  .work-video-card {
    flex: 0 0 min(58vw, 200px);
    scroll-snap-align: start;
  }

  .hero-art {
    transform: none;
    margin-top: 8px;
  }

  .avatar-profile {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .profile-media {
    min-height: 0;
  }

  .profile-media video,
  .profile-media img {
    min-height: 0;
  }

  .faq-art {
    min-height: auto;
  }

  .faq-art img {
    width: min(180px, 70%);
  }

  .contact-panel.contact-upgrade {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .contact-upgrade .contact-form {
    grid-template-columns: 1fr;
  }

  .metric-strip:not(.metric-strip--stats),
  .process-grid,
  .benefit-strip,
  .timeline-card,
  .tariff-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel.services-cta {
    grid-template-columns: 1fr;
  }

  .section-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .niche-card {
    grid-template-columns: 1fr;
  }

  .niche-card-media {
    min-height: 180px;
  }
}

html[dir="rtl"] .avatar-option {
  text-align: right;
}

html[dir="rtl"] .profile-copy li::before {
  margin-right: 0;
  margin-left: 8px;
}
