/* Design 2 home sections — extracted from index.html for inner page revamps */

:root {
  --deep-blue: #2e3c91;
  --light-blue: #8ae2ff;
  --white: #ffffff;
  --beige: #f5f4d6;
  --peach: #f0c9a5;
  --pale-green: #b4edc6;
  --dark-bg: #0d0f1a;
  --dark-card: #131628;
  --dark-mid: #1a1f3a;
  --dark-ink: #080a12;
  /* Service-detail aligned aliases */
  --sd-accent: var(--light-blue);
  --sd-accent-rgb: 138, 226, 255;
  --sd-surface: var(--dark-card);
  --sd-line: rgba(255, 255, 255, 0.08);
  --sd-text-soft: rgba(255, 255, 255, 0.7);
  --sd-text-muted: rgba(255, 255, 255, 0.48);
}

/* ── Ticker ── */
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ── Service tabs ── */
.service-tab-btn {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.service-tab-btn.active {
  background: var(--deep-blue);
  border-color: var(--light-blue);
  color: var(--light-blue);
  animation: tabpulse 3s ease-in-out infinite;
}

@keyframes tabpulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(138, 226, 255, 0);
  }

  50% {
    box-shadow: 0 0 16px rgba(138, 226, 255, 0.28);
  }
}

.d2-service-panel-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-height: 280px;
}

.d2-service-metric-box {
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.d2-service-video-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(var(--sd-accent-rgb), 0.18);
  background: var(--dark-mid);
  min-height: 200px;
}

.d2-service-video-box video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d2-service-video-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 45%,
    rgba(13, 15, 26, 0.35) 100%
  );
}

/* ── WalkwelIQ section (index-style, no video bleed) ── */
.d2-walkwel-iq {
  isolation: isolate;
}

.d2-walkwel-iq .iq-orb {
  z-index: 0;
}

.d2-iq-stack {
  position: relative;
  z-index: 2;
}

/* ── WalkwelIQ cards ── */
.iq-card-d2 {
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(138, 226, 255, 0.12);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.3s,
    box-shadow 0.3s;
}

.iq-card-d2 > .flex,
.iq-card-d2 > div:not(.iq-shimmer) {
  position: relative;
  z-index: 2;
}

.iq-card-d2:hover {
  transform: translateY(-10px);
  border-color: rgba(138, 226, 255, 0.35);
  box-shadow: 0 28px 70px rgba(46, 60, 145, 0.55);
}

.d2-iq-stack .iq-card-d2:hover {
  transform: translateY(-4px);
}

.iq-card-d2::after {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 3px;
  background: linear-gradient(to bottom, var(--light-blue), var(--pale-green));
  border-radius: 0 3px 3px 0;
  transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.iq-card-d2:hover::after {
  transform: scaleY(1);
}

.iq-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 38%,
    rgba(138, 226, 255, 0.06) 50%,
    transparent 62%
  );
  transform: translateX(-160%);
  transition: none;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.iq-card-d2:hover .iq-shimmer {
  transform: translateX(160%);
  transition: transform 0.7s ease;
}

.iq-icon {
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s;
}

.iq-card-d2:hover .iq-icon {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 0 28px rgba(138, 226, 255, 0.3);
}

@keyframes iq-float1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-18px, -28px) scale(1.08);
  }
}

@keyframes iq-float2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(22px, 20px) scale(0.94);
  }
}

@keyframes iq-float3 {
  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(-12px, 18px);
  }

  66% {
    transform: translate(16px, -10px);
  }
}

.iq-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

/* ── Impact Stories slider ── */
.is-container {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.is-progress {
  height: 3px;
  width: 0%;
  background: var(--light-blue);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  pointer-events: none;
}

.is-slide {
  display: none;
  flex-direction: row;
  min-height: 560px;
}

.is-slide.is-active {
  display: flex;
  animation: is-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes is-fadein {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.is-left {
  flex: 1;
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  background: var(--dark-card);
  position: relative;
  overflow: hidden;
}

.is-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--is-accent, var(--light-blue));
}

.is-right {
  width: 42%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-mid);
}

.is-right-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

.is-right-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    var(--is-glow, rgba(138, 226, 255, 0.16)) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.is-mono-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid var(--is-accent, var(--light-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation: is-ring-pulse 4s ease-in-out infinite;
  background: rgba(13, 15, 26, 0.75);
  backdrop-filter: blur(10px);
}

.is-mono-ring::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.is-mono-text {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--is-accent, var(--light-blue));
  text-shadow: 0 0 40px var(--is-glow, rgba(138, 226, 255, 0.5));
}

@keyframes is-ring-pulse {
  0%,
  100% {
    box-shadow:
      0 0 40px var(--is-glow, rgba(138, 226, 255, 0.15)),
      inset 0 0 40px rgba(0, 0, 0, 0.5);
  }

  50% {
    box-shadow:
      0 0 90px var(--is-glow, rgba(138, 226, 255, 0.32)),
      inset 0 0 40px rgba(0, 0, 0, 0.5);
  }
}

.is-orbit {
  position: absolute;
  backdrop-filter: blur(14px);
  background: rgba(13, 15, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
}

.is-orbit-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--is-accent, var(--light-blue));
  flex-shrink: 0;
}

@keyframes is-orb-a {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-8px, -14px);
  }
}

@keyframes is-orb-b {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(10px, -10px);
  }
}

@keyframes is-orb-c {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-6px, 12px);
  }
}

@keyframes is-orb-d {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(9px, 8px);
  }
}

.is-stat-val {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  line-height: 1;
  color: var(--is-accent, var(--light-blue));
}

.is-stat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 5px;
}

.is-tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.52);
  opacity: 0;
  transform: translateY(7px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.is-slide.is-active .is-tech-chip {
  opacity: 1;
  transform: translateY(0);
}

.is-nav-row {
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(13, 15, 26, 0.95);
}

.is-nav {
  display: flex;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.is-nav::-webkit-scrollbar {
  height: 0;
}

/* Portfolio-style nav: fixed-width tabs + horizontal scroll */
.is-nav.has-many .is-nav-tab {
  flex: 0 0 180px;
}

.is-nav-tab {
  flex: 1;
  padding: 20px;
  cursor: pointer;
  border-top: 2px solid transparent;
  transition:
    border-color 0.3s,
    background 0.3s;
  user-select: none;
}

.is-nav-tab:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.is-nav-tab.is-active {
  border-top-color: var(--is-nav-accent, var(--light-blue));
  background: rgba(255, 255, 255, 0.016);
}

.is-nav-tab:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.01);
}

.is-nav-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  margin-bottom: 4px;
}

.is-nav-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s;
  line-height: 1.3;
}

.is-nav-tab.is-active .is-nav-name {
  color: white;
}

.is-nav-industry {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.22);
  margin-top: 3px;
}

.is-arrow {
  width: 44px;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  transition:
    color 0.2s,
    background 0.2s;
}

.is-arrow:hover {
  color: var(--light-blue);
  background: rgba(138, 226, 255, 0.06);
}

.is-arrow:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.is-arrow:last-child {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.is-device-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.is-device-img {
  max-height: 420px;
  max-width: 82%;
  object-fit: contain;
  transform: rotate(-6deg) translateX(6%);
  filter: drop-shadow(0 24px 56px rgba(0, 0, 0, 0.7));
}

.is-proj-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 6;
  background: rgba(13, 15, 26, 0.9);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.is-proj-logo-img {
  height: 26px;
  max-width: 108px;
  object-fit: contain;
}

.is-tf-icon {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.1;
  z-index: 1;
  filter: brightness(50) saturate(0);
}

@keyframes is-tf-a {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(-10px, -16px) rotate(12deg) scale(1.06);
  }
}

@keyframes is-tf-b {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(13px, -10px) rotate(-9deg) scale(0.93);
  }
}

@keyframes is-tf-c {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(-8px, 15px) rotate(7deg) scale(1.05);
  }
}

@keyframes is-tf-d {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(11px, -13px) rotate(-11deg) scale(0.94);
  }
}

@keyframes is-tf-e {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(-7px, 11px) rotate(5deg) scale(1.04);
  }
}

@keyframes is-tf-f {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(9px, -8px) rotate(-7deg) scale(0.96);
  }
}

/* ── Testimonials ── */
.testi-card-d2 {
  background: var(--dark-card);
  border-radius: 20px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

/* ── Full-page video sections ── */
.fp-video-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-bg);
}

.fp-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fp-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    rgba(13, 15, 26, 0.94) 0%,
    rgba(13, 15, 26, 0.78) 42%,
    rgba(46, 60, 145, 0.32) 72%,
    rgba(13, 15, 26, 0.88) 100%
  );
}

.fp-video-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 48px;
}

.fp-video-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fp-video-stat strong {
  display: block;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--light-blue);
  line-height: 1;
  margin-bottom: 6px;
}

.fp-video-stat span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Open roles (dark, service-detail aligned) ── */
.d2-job-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.d2-job-card {
  background: var(--dark-card);
  border: 1px solid var(--sd-line);
  border-radius: 20px;
  padding: 28px 32px;
  transition:
    border-color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}

.d2-job-card:hover {
  border-color: rgba(var(--sd-accent-rgb), 0.24);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.d2-job-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.d2-job-card-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}

.d2-job-card-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--sd-text-soft);
  margin: 0 0 14px;
  max-width: 640px;
}

.d2-job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.d2-job-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--sd-text-muted);
}

.d2-job-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--light-blue);
  text-decoration: none;
  white-space: nowrap;
  transition: gap 0.2s;
}

.d2-job-apply:hover {
  gap: 14px;
}

.d2-role-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.d2-role-pill {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.25s;
}

.d2-role-pill:hover {
  border-color: rgba(var(--sd-accent-rgb), 0.3);
  color: rgba(255, 255, 255, 0.85);
}

.d2-role-pill.active {
  background: var(--light-blue);
  color: var(--dark-bg);
  border-color: var(--light-blue);
}

/* ── FAQ accordion (index-style) ── */
.d2-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.d2-faq-item {
  border-radius: 12px;
  border: 1px solid rgba(var(--sd-accent-rgb), 0.12);
  background: rgba(255, 255, 255, 0.02);
  transition:
    background 0.3s,
    border-color 0.3s;
}

.d2-faq-item.is-open {
  background: rgba(46, 60, 145, 0.3);
  border-color: rgba(var(--sd-accent-rgb), 0.3);
}

.d2-faq-toggle {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
  font-family: inherit;
  text-align: left;
}

.d2-faq-toggle h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.d2-faq-toggle svg {
  flex-shrink: 0;
  color: var(--light-blue);
  transition: transform 0.3s;
}

.d2-faq-item.is-open .d2-faq-toggle svg {
  transform: rotate(180deg);
}

.d2-faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(var(--sd-accent-rgb), 0.1);
}

.d2-faq-answer ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.d2-faq-answer li {
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .is-slide {
    flex-direction: column;
  }

  .is-right {
    width: 100%;
    height: 280px;
  }

  .is-left {
    padding: 36px 28px;
    gap: 20px;
  }

  .is-mono-ring {
    width: 150px;
    height: 150px;
  }

  .is-mono-text {
    font-size: 38px;
  }

  .is-device-img {
    max-height: 230px;
    transform: none;
  }

  .is-tf-icon {
    width: 30px !important;
  }

  .d2-service-panel-split {
    grid-template-columns: 1fr;
  }

  .fp-video-content {
    padding: 80px 24px;
  }
}

@media (max-width: 640px) {
  .is-orbit {
    display: none;
  }

  .is-nav-industry {
    display: none;
  }

  .is-nav-tab {
    padding: 14px 10px;
  }

  .is-nav-name {
    font-size: 10px;
  }

  .is-left {
    padding: 28px 20px;
  }

  .d2-job-card {
    padding: 22px 20px;
  }
}

/* ── Studio Numbers ── */
.d2-studio-numbers {
  border-top: 1px solid rgba(138,226,255,0.08);
  border-bottom: 1px solid rgba(138,226,255,0.08);
}

.d2-sn-item {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
  padding: 0 32px;
}

.d2-sn-item + .d2-sn-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(138,226,255,0.1);
}

.d2-sn-num {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--light-blue);
  font-family: 'Urbanist', sans-serif;
}

.d2-sn-suffix {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--light-blue);
  line-height: 1;
  margin-left: 2px;
}

.d2-sn-label {
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
}

/* ── Life in Motion bento ── */
.d2-lim-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 14px;
  padding-bottom: 0;
}

.d2-lim-cell {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  isolation: isolate;
}

.d2-lim-cell:first-child {
  grid-row: span 2;
}

.d2-lim-cell video,
.d2-lim-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.d2-lim-cell:hover video,
.d2-lim-cell:hover img {
  transform: scale(1.04);
}

.d2-lim-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(13,15,26,0.9) 0%, rgba(13,15,26,0.3) 40%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 26px;
  transition: background 0.4s;
}

.d2-lim-cell:hover .d2-lim-overlay {
  background: linear-gradient(to top, rgba(13,15,26,0.95) 0%, rgba(13,15,26,0.5) 50%, rgba(46,60,145,0.2) 100%);
}

.d2-lim-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--light-blue);
  background: rgba(138,226,255,0.12);
  border: 1px solid rgba(138,226,255,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 8px;
  width: fit-content;
}

.d2-lim-caption {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}

.d2-lim-cell:hover .d2-lim-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ── Perks grid ── */
.d2-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.d2-perk-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.d2-perk-card:hover {
  border-color: rgba(138,226,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.d2-perk-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.d2-perk-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}

.d2-perk-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

@media (max-width: 900px) {
  .d2-lim-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 220px 220px;
  }
  .d2-lim-cell:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .d2-perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .d2-sn-item {
    padding: 0 16px;
  }
}

@media (max-width: 600px) {
  .d2-lim-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .d2-lim-cell {
    min-height: 240px;
  }
  .d2-lim-cell:first-child {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 300px;
  }
  .d2-perks-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .service-tab-btn.active,
  .iq-orb,
  .is-slide.is-active,
  .is-mono-ring,
  .is-tf-icon,
  .is-orbit {
    animation: none !important;
  }
}
