.stars { color: #fbbf24; letter-spacing: 2px; font-size: 14px; }

hr { border-color: #1f1f1f; }

.stats-row {
      display: flex;
      align-items: center;
      gap: 32px;
      flex-wrap: nowrap;
      justify-content: center;
      font-size: 14px;
      color: rgba(255,255,255,0.5);
    }

.stats-row .stat-num {
      font-size: 28px;
      font-weight: 800;
      color: #fff;
      line-height: 1.1;
    }

@media (max-width: 480px) {
      .stats-row { gap: 14px; font-size: 11px; }
      .stats-row .stat-num { font-size: 20px; }
      .stat-divider { height: 24px; }
    }

@keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

.hero-animate {
      opacity: 0;
      animation: fadeUp 0.5s ease-out forwards;
    }

.hero-animate:nth-child(1) { animation-delay: 0.1s; }

.hero-animate:nth-child(2) { animation-delay: 0.25s; }

.hero-animate:nth-child(3) { animation-delay: 0.40s; }

.hero-animate:nth-child(4) { animation-delay: 0.55s; }

.hero-animate:nth-child(5) { animation-delay: 0.70s; }

.gradient-text {
      background: linear-gradient(110deg, #fff 15%, #dbe3ee 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

.stat-divider {
      width: 1px;
      height: 32px;
      background: rgba(255,255,255,0.15);
    }

.hero-video-wrap {
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      background: #0D0D0D;
    }

.hero-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      pointer-events: none;
    }

.hero-video-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 65%, rgba(13,13,13,0.55) 100%);
    }

.hero-scroll {
      position: absolute;
      bottom: 28px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 5;
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.7);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      animation: heroBounce 2s ease-in-out infinite;
      pointer-events: none;
    }

.hero-scroll::after {
      content: '';
      width: 1px;
      height: 28px;
      background: rgba(255,255,255,0.45);
    }

@keyframes heroBounce {
      0%, 100% { transform: translate(-50%, 0); }
      50%      { transform: translate(-50%, 6px); }
    }

.services-grid {
      display: grid;
      grid-template-columns: 1fr;
      max-width: 1280px;
      margin: 0 auto;
      position: relative;
      z-index: 10;
    }

@media (min-width: 768px) {
      .services-grid { grid-template-columns: 1fr 1fr; }
    }

@media (min-width: 1024px) {
      .services-grid { grid-template-columns: repeat(3, 1fr); }
    }

.svc-card {
      position: relative;
      padding: 40px;
      cursor: default;
      border-right: 1px solid #222;
      border-bottom: 1px solid #222;
      overflow: hidden;
      transition: background 0.2s;
    }

@media (min-width: 1024px) {
      .svc-card:nth-child(3n+1) { border-left: 1px solid #222; }
    }

@media (min-width: 768px) and (max-width: 1023px) {
      .svc-card:nth-child(2n+1) { border-left: 1px solid #222; }
    }

@media (max-width: 767px) {
      .svc-card { border-left: 1px solid #222; border-right: 1px solid #222; }
    }

.svc-card::before {
      content: '';
      position: absolute;
      inset: 0;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s;
    }

.svc-card.top-row::before { background: linear-gradient(to top, #1e1e1e, transparent); }

.svc-card.bottom-row::before { background: linear-gradient(to bottom, #1e1e1e, transparent); }

.svc-card:hover::before { opacity: 1; }

.svc-accent-bar {
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 3px;
      height: 24px;
      border-radius: 0 3px 3px 0;
      background: #333;
      transition: height 0.2s, background 0.2s;
    }

.svc-card:hover .svc-accent-bar {
      height: 32px;
      background: var(--dmg-coral);
    }

.svc-title {
      display: inline-block;
      transition: transform 0.2s;
      font-size: 17px;
      font-weight: 700;
      color: #f3f4f6;
      font-family: 'Montserrat', sans-serif;
      letter-spacing: -0.01em;
    }

.svc-card:hover .svc-title { transform: translateX(6px); }

.svc-icon {
      color: #6b7280;
      margin-bottom: 16px;
      position: relative;
      z-index: 1;
      transition: color 0.2s;
    }

.svc-card:hover .svc-icon { color: var(--dmg-blue); }

.svc-desc {
      font-size: 14px;
      color: #6b7280;
      line-height: 1.65;
      max-width: 280px;
      position: relative;
      z-index: 1;
      margin-top: 8px;
    }

@keyframes marquee-brands {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

.brand-track {
      display: flex;
      gap: 0;
      width: max-content;
      animation: marquee-brands 40s linear infinite;
      align-items: center;
    }

.brand-track:hover { animation-play-state: paused; }

.brand-logo-wrap {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 48px;
      padding: 0 36px;
      border-right: 1px solid #1a1a1a;
    }

.brand-logo-img {
      max-height: 26px;
      width: auto;
      max-width: 110px;
      object-fit: contain;
      filter: brightness(0) invert(1);
      opacity: 0.3;
      transition: opacity 0.25s;
    }

.brand-logo-wrap:hover .brand-logo-img { opacity: 0.7; }

.brand-logo-text {
      display: none;
      font-size: 11px;
      font-weight: 700;
      color: rgba(255,255,255,0.3);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      white-space: nowrap;
      transition: color 0.25s;
    }

.brand-logo-wrap:hover .brand-logo-text { color: rgba(255,255,255,0.65); }

@keyframes marquee {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

.marquee-track {
      display: flex;
      gap: 1rem;
      width: max-content;
      animation: marquee 40s linear infinite;
    }

.marquee-track:hover { animation-play-state: paused; }

.tcard {
      flex-shrink: 0;
      width: 300px;
      background: linear-gradient(to bottom, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
      border-top: 1px solid #2a2a2a;
      border-radius: 12px;
      padding: 20px 24px 24px;
      transition: background 0.25s;
      text-align: left;
    }

.tcard:hover {
      background: linear-gradient(to bottom, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
    }

.tcard-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      font-weight: 700;
      color: #fff;
      flex-shrink: 0;
    }

.tcard-text {
      font-size: 14px;
      color: #9ca3af;
      line-height: 1.65;
      margin-top: 16px;
    }

.tcard-name {
      font-size: 14px;
      font-weight: 600;
      color: #fff;
      line-height: 1.2;
    }

.tcard-role {
      font-size: 12px;
      color: #6b7280;
      margin-top: 2px;
    }

/* Hero content stays readable over both the video and its poster. */
.home-hero { position: relative; min-height: min(850px, 100svh); display: flex; align-items: center; padding: 144px 24px 120px; overflow: hidden; }
.hero-video-wrap { background: #0d0d0d url('https://vz-70351218-c75.b-cdn.net/f3850f35-983b-43ea-94a5-d85dbc6a4434/thumbnail.jpg') center / cover no-repeat; }
.hero-video-overlay { background: linear-gradient(180deg, #0009 0%, #000b 65%, #0d0d0dfa 100%); opacity: .86; }
.hero-content { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; text-align: center; }
.hero-content h1 { text-shadow: 0 2px 24px #0008; }
.hero-content .btn-outline { background: #0d0d0d80; }
.home-stats { padding: 44px 24px 56px; }
.stats-row { color: #a5adba; }
.svc-desc, .tcard-role { color: #a5adba; }
.brand-logo-img { opacity: .7; }
.brand-logo-text { color: #a5adba; }
.motion-toolbar { display: flex; justify-content: center; margin: 0 24px 24px; }
.motion-toggle { font-size: 13px; min-height: 44px; padding: 10px 18px; }
.motion-window { position: relative; width: 100%; overflow-x: auto; padding: 8px 0 16px; }
.motion-window:focus-within .brand-track, .motion-window:focus-within .marquee-track { animation-play-state: paused; }
.motion-still .brand-track, .motion-still .marquee-track { animation: none; transform: none; padding-inline: 24px; }
.motion-still [data-duplicate] { display: none; }
@media (max-width: 768px) {
  main > .home-hero { padding: 124px 24px 120px !important; min-height: 760px; min-height: max(720px, 100svh); }
  .hero-content p { font-size: 16px !important; }
  .svc-card { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .hero-content .btn-coral, .hero-content .btn-outline { width: 100%; }
  .stats-row { flex-wrap: wrap; gap: 24px; font-size: 12px; }
  .stats-row > div:not(.stat-divider) { flex: 1 1 100px; }
  .stat-divider { display: none; }
}
@media (max-height: 500px) and (orientation: landscape) {
  main > .home-hero { min-height: 620px; }
}
.hero-content > p { margin-inline: auto !important; }
.hero-content .gradient-text { text-shadow: none; }
