/* ═══════════════════════════════════════════════════════════════
   N3 MEDIA — MAIN SITE  main.css
   Shared: index.html + services.html
═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #0a0512;
  --bg-2: #0d0818;
  --green: #7ed957;
  --green-d: rgba(126, 217, 87, 0.12);
  --white: #f2eeff;
  --muted: rgba(242, 238, 255, 0.55);
  --border: rgba(126, 217, 87, 0.18);
  --ease-rev: cubic-bezier(0.77, 0, 0.175, 1);
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  display: block;
  max-width: 100%;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

#main-content {
  position: relative;
  z-index: 1;
  background: var(--bg);
}
h1,
h2,
h3,
h4 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
}
.section-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.8;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: linear-gradient(to bottom, rgba(10, 5, 18, 0.95), transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(126, 217, 87, 0.05);
}
.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}
.logo:hover {
  color: var(--green);
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.3s var(--ease-rev);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  border: 1px solid rgba(126, 217, 87, 0.45);
  padding: 8px 20px;
  transition: all 0.3s ease;
}
.nav-cta:hover {
  background: var(--green-d);
  border-color: var(--green);
}

/* ═══════════════════════════════════════════════════════════════
   HERO (index + services)
═══════════════════════════════════════════════════════════════ */
#hero-main {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: heroReveal 0.9s ease both 0.1s;
}
@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 60%,
    rgba(126, 217, 87, 0.07) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.75;
  margin-bottom: 28px;
}
#hero-main h1 {
  font-size: clamp(56px, 9vw, 110px);
  line-height: 0.95;
  color: var(--white);
}
#hero-main h1 span {
  color: var(--green);
}
#hero-main > p {
  margin-top: 22px;
  font-size: 16px;
  color: var(--muted);
  font-weight: 300;
  max-width: 440px;
}
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(126, 217, 87, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1.15);
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════════════════════
   INDEX SERVICES TEASER
═══════════════════════════════════════════════════════════════ */
.teaser-section {
  padding: 120px 10%;
}
.ts-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ts-inner h2 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  margin-bottom: 48px;
}
.ts-inner h2 span {
  color: var(--green);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.srv-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  background: rgba(126, 217, 87, 0.02);
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s;
}
.srv-card:hover {
  background: rgba(126, 217, 87, 0.06);
  border-color: rgba(126, 217, 87, 0.35);
  transform: translateY(-4px);
}
.srv-card h3 {
  font-size: 26px;
  letter-spacing: 0.04em;
}
.srv-card > p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
  flex: 1;
}
.srv-link {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO / WORK
═══════════════════════════════════════════════════════════════ */
.portfolio-section {
  padding: 120px 10%;
}
.port-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.port-inner h2 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  margin-bottom: 48px;
}
.port-inner h2 span {
  color: var(--green);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.work-card {
  cursor: pointer;
}
.work-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(126, 217, 87, 0.05);
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
}
.work-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 5, 18, 0.7);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.3s;
}
.work-card:hover .work-overlay {
  opacity: 1;
}
.work-card:hover .work-img-wrap img {
  transform: scale(1.04);
}
.work-meta {
  margin-top: 14px;
}
.work-meta h4 {
  font-size: 20px;
  letter-spacing: 0.04em;
}
.work-meta span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS SECTION (index.html)
═══════════════════════════════════════════════════════════════ */
#process-section {
  padding: 140px 10% 100px;
  background: var(--bg);
  position: relative;
}
#process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--border),
    transparent
  );
}
.ps-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ps-header {
  margin-bottom: 64px;
  text-align: center;
}
.ps-header h2 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.95;
}
.ps-header h2 span {
  color: var(--green);
}
.ps-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.ps-step {
  flex: 1;
  padding: 0 32px;
  text-align: center;
}
.ps-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 56px;
  color: var(--green);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 8px;
}
.ps-label {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.ps-step p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}
.ps-connector {
  width: 1px;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border),
    transparent
  );
  align-self: center;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════ */
.about-section {
  padding: 140px 10%;
}
.about-inner {
  max-width: 900px;
  margin: 0 auto;
}
.about-inner h2 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.95;
  margin-bottom: 40px;
}
.about-inner h2 span {
  color: var(--green);
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  max-width: 680px;
}

/* ═══════════════════════════════════════════════════════════════
   CLIENT MARQUEE
═══════════════════════════════════════════════════════════════ */
#client-marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  padding-right: 0;
}
.mq-item {
  font-family: "Bebas Neue", sans-serif;
  font-size: 18px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  padding: 0 32px;
  white-space: nowrap;
}
.mq-dot {
  color: var(--green);
  opacity: 0.4;
  font-size: 20px;
}
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ═══════════════════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════════════════ */
#cta {
  position: relative;
  padding: 160px 10%;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(126, 217, 87, 0.07) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
}
#cta h2 {
  font-size: clamp(48px, 8vw, 100px);
  line-height: 0.95;
  margin-bottom: 20px;
}
#cta h2 span {
  color: var(--green);
}
#cta .cta-inner > p {
  font-size: 16px;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 40px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border: 1px solid rgba(126, 217, 87, 0.55);
  background: rgba(126, 217, 87, 0.07);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
}
.cta-btn:hover {
  background: rgba(126, 217, 87, 0.18);
  border-color: var(--green);
  box-shadow: 0 0 50px rgba(126, 217, 87, 0.2);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
#site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}
.footer-inner {
  padding: 80px 10% 40px;
  max-width: 1300px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.ft-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ft-eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.7;
  margin-bottom: 4px;
}
.ft-col p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}
.ft-email {
  font-size: 13px;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(126, 217, 87, 0.3);
  width: fit-content;
  transition: border-color 0.3s;
}
.ft-email:hover {
  border-color: var(--green);
}
.nav-col a,
.social-col a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.25s;
  width: fit-content;
}
.nav-col a:hover,
.social-col a:hover {
  color: var(--white);
}
.ft-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 8px;
}
.footer-massive-logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(80px, 14vw, 200px);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  text-align: center;
  margin-bottom: 40px;
  user-select: none;
}
.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
}
.legal-links {
  display: flex;
  gap: 24px;
}
.legal-links a {
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color 0.25s;
}
.legal-links a:hover {
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   ╔══════════════════════════════════════════════════════════╗
   ║  SPLIT SECTIONS — SERVICES PAGE  (NEW ARCHITECTURE)     ║
   ║                                                          ║
   ║  .s-left  = PROCESS  (underneath, z-index 1)            ║
   ║  .s-right = PRODUCT  (on top, z-index 2, full width)    ║
   ║                                                          ║
   ║  Hover section → .s-right translateX(100%)              ║
   ║  → exits viewport → .s-left process revealed            ║
   ╚══════════════════════════════════════════════════════════╝
═══════════════════════════════════════════════════════════════ */
.split-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* ── LEFT: PROCESS — always underneath ── */
.s-left {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg);
  display: flex;
  align-items: center;
  /* slight right offset — center the content in the ~50% that's visible after reveal */
  padding: 80px 6% 80px 8%;
}
.s-left-inner {
  max-width: 560px;
}
.s-left-inner h2 {
  font-size: clamp(36px, 4vw, 60px);
  line-height: 0.95;
  margin-bottom: 16px;
}
.s-left-inner h2 span {
  color: var(--green);
}
.s-left-inner > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 400px;
}

/* Process steps inside left panel */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ps-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  background: rgba(126, 217, 87, 0.025);
  transition:
    background 0.3s,
    border-color 0.3s;
  /* Start hidden — revealed via JS on section hover */
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    background 0.3s,
    border-color 0.3s;
}
.split-section:hover .ps-item {
  opacity: 1;
  transform: translateX(0);
}
.split-section:hover .ps-item:nth-child(1) {
  transition-delay: 0.25s;
}
.split-section:hover .ps-item:nth-child(2) {
  transition-delay: 0.35s;
}
.split-section:hover .ps-item:nth-child(3) {
  transition-delay: 0.45s;
}
.split-section:hover .ps-item:nth-child(4) {
  transition-delay: 0.55s;
}
.ps-item:hover {
  background: rgba(126, 217, 87, 0.07);
  border-color: rgba(126, 217, 87, 0.35);
}
.ps-n {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  color: var(--green);
  opacity: 0.4;
  flex-shrink: 0;
  width: 36px;
  line-height: 1;
}
.ps-body h4 {
  font-size: 16px;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.ps-body p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 300;
}

/* ── RIGHT: PRODUCT — full width, slides right on hover ── */
.s-right {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Default: covers everything */
  transform: translateX(0);
  /* Hover: slides right to exit viewport — smooth and cinematic */
  transition: transform 0.85s var(--ease-rev);
  cursor: default;
}

/* When the section is hovered, the product panel slides fully right */
.split-section:hover .s-right {
  transform: translateX(100%);
}

/* ── Left-edge hint strip ── */
/* Visible before hover, disappears as panel slides away */
.sr-hint {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 5;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 20px 14px;
  background: rgba(10, 5, 18, 0.7);
  border-right: 1px solid rgba(126, 217, 87, 0.2);
  backdrop-filter: blur(8px);
  transition: opacity 0.3s;
}
.sr-hint span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(126, 217, 87, 0.7);
  white-space: nowrap;
}
/* Fade hint once sliding starts */
.split-section:hover .sr-hint {
  opacity: 0;
}

/* ── Product panel inner layout ── */
.sr-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 8% 80px 14%;
  /* Gradient: darker on left (where hint/edge is), richer on right */
  background: linear-gradient(110deg, #0d0520 0%, #100825 40%, #0a0412 100%);
}

/* Faint grid texture */
.sr-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 217, 87, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 217, 87, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Ambient glow */
.sr-inner::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(126, 217, 87, 0.08),
    transparent 70%
  );
  filter: blur(80px);
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.sr-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1000px;
  width: 100%;
}

.sr-content h2 {
  font-size: clamp(38px, 4.5vw, 72px);
  line-height: 0.95;
  margin-bottom: 16px;
}
.sr-content h2 span {
  color: var(--green);
}
.sr-content > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  max-width: 400px;
  margin-bottom: 44px;
}

/* ── Result wrap: mock + KPIs side by side ── */
.sr-result-wrap {
  display: flex;
  align-items: center;
  gap: 52px;
}

/* ── Phone mock (retainers) ── */
.sr-phone {
  width: 140px;
  aspect-ratio: 9/16;
  background: #1a0d26;
  border-radius: 20px;
  padding: 8px;
  border: 1px solid rgba(126, 217, 87, 0.25);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(126, 217, 87, 0.06);
  flex-shrink: 0;
}
.sr-screen {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #000;
}
.sr-reel-bg {
  width: 100%;
  height: 100%;
}
.rv-retainer {
  background: linear-gradient(160deg, #1a0035 0%, #5a0060 50%, #9b0060 100%);
  animation: reelPulse 3s ease-in-out infinite;
}
@keyframes reelPulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}
.sr-stats-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 8px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}
.sr-stat-big {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.sr-stat-big span:first-child {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  color: var(--green);
}
.srv-unit {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.sr-bar-wrap {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}
.sr-bar {
  height: 100%;
  width: var(--w);
  background: var(--green);
  border-radius: 2px;
  transition: width 2s ease;
  box-shadow: 0 0 6px var(--green);
}
.sr-tags {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
}
.sr-side-ui {
  position: absolute;
  right: 6px;
  bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.sr-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.sra-icon {
  font-size: 18px;
  line-height: 1;
}
.sra-lbl {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.7);
}

/* ── KPI column ── */
.sr-kpis {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kpi-v {
  font-family: "Bebas Neue", sans-serif;
  font-size: 52px;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
}
.kpi-l {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Skill tiles (workshops) ── */
.sr-skill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 260px;
  flex-shrink: 0;
}
.sk-tile {
  padding: 18px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(126, 217, 87, 0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s;
}
.sk-tile:hover {
  background: rgba(126, 217, 87, 0.08);
  border-color: rgba(126, 217, 87, 0.35);
}
.sk-icon {
  font-size: 22px;
}
.sk-tile span {
  font-size: 13px;
  font-weight: 500;
}
.sk-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.sk-fill {
  height: 100%;
  width: var(--p);
  background: var(--green);
  border-radius: 2px;
  animation: barGrow 1.5s ease both;
  box-shadow: 0 0 6px rgba(126, 217, 87, 0.4);
}
@keyframes barGrow {
  from {
    width: 0;
  }
  to {
    width: var(--p);
  }
}
.st-1 {
  animation-delay: 0.2s;
}
.st-2 {
  animation-delay: 0.4s;
}
.st-3 {
  animation-delay: 0.6s;
}
.st-4 {
  animation-delay: 0.8s;
}

/* ── AI grid ── */
.sr-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 260px;
  flex-shrink: 0;
}
.ai-g-cell {
  padding: 24px 16px;
  border: 1px solid rgba(126, 217, 87, 0.2);
  border-radius: 8px;
  background: rgba(126, 217, 87, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.ai-g-cell:hover {
  background: rgba(126, 217, 87, 0.1);
  border-color: rgba(126, 217, 87, 0.4);
}
.ai-g-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  position: relative;
  z-index: 1;
}
.ai-g-pulse {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(126, 217, 87, 0.15),
    transparent 70%
  );
  bottom: -20px;
  right: -20px;
  animation: aiGlow 3s ease-in-out infinite;
}
.ac1 {
  animation-delay: 0s;
}
.ac2 {
  animation-delay: 0.5s;
}
.ac3 {
  animation-delay: 1s;
}
.ac4 {
  animation-delay: 1.5s;
}
@keyframes aiGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE OVERRIDES
═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  #nav {
    padding: 18px 24px;
  }
  .nav-links {
    display: none;
  }

  /* Stack split sections vertically on mobile */
  .split-section {
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  .s-left,
  .s-right {
    position: static;
    transform: none !important;
    width: 100%;
    z-index: auto;
  }
  .s-left {
    padding: 60px 24px 40px;
    border-bottom: 1px solid var(--border);
  }
  .sr-inner {
    position: static;
    padding: 60px 24px;
    flex-direction: column;
  }
  .sr-hint {
    display: none;
  }
  .ps-item {
    opacity: 1 !important;
    transform: none !important;
  } /* always show on mobile */
  .sr-result-wrap {
    flex-direction: column;
    gap: 32px;
  }
  .sr-kpis {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .ps-steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .ps-connector {
    width: 60px;
    height: 1px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-massive-logo {
    font-size: clamp(50px, 15vw, 120px);
  }
}
@media (max-width: 600px) {
  #hero-main h1 {
    font-size: 52px;
  }
  .sr-skill-grid,
  .sr-ai-grid {
    width: 100%;
  }
}
