/* ════════════════════════════════════════════════
   TRIYAMB SERVICES — STYLESHEET
   Mobile-First · Dark Agency Theme
   Space Grotesk + Inter
════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────── */
:root {
  --bg:        #0b1b0b;
  --bg-2:      #0e1f0e;
  --bg-card:   #111f11;
  --bg-card-2: #162216;
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.12);

  --accent:             #a8ff3c;
  --accent-dim:         #7acc1e;
  --accent-glow:        rgba(168,255,60,0.18);
  --accent-glow-strong: rgba(168,255,60,0.35);

  --white:  #ffffff;
  --gray-1: #e2e8e2;
  --gray-2: #8a9e8a;
  --gray-3: #4a5e4a;
  --gray-4: #1e2e1e;

  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius:    20px;
  --radius-sm: 14px;
  --radius-xs: 8px;
  --radius-pill: 99px;

  --sidebar-w: 52px;   /* social sidebar width */

  --transition:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  background: var(--bg);
  color: var(--gray-1);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Scrollbar ─────────────────────────────────── */
::-webkit-scrollbar         { width: 5px; }
::-webkit-scrollbar-track   { background: var(--bg); }
::-webkit-scrollbar-thumb   { background: var(--gray-4); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Container — mobile-first ──────────────────── */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;   /* mobile */
}
@media (min-width: 640px)  { .container { padding: 0 2rem; } }
/* On desktop, push content right to clear the fixed social sidebar */
@media (min-width: 900px)  { .container { padding-left: calc(var(--sidebar-w) + 2rem); } }
@media (min-width: 1280px) { .container { padding-left: calc(var(--sidebar-w) + 3rem); } }

/* ══════════════════════════════════════════════
   CUSTOM CURSOR  (desktop only — hidden on touch)
══════════════════════════════════════════════ */
.cursor-dot,
.cursor-ring { display: none; } /* hidden by default (mobile) */

@media (min-width: 900px) {
  .cursor-dot {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease;
  }
  .cursor-ring {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(168,255,60,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease,
                border-color 0.25s ease, background 0.25s ease;
  }

  body.cursor-hover .cursor-ring {
    width: 54px; height: 54px;
    border-color: var(--accent);
    background: rgba(168,255,60,0.06);
  }
  body.cursor-image .cursor-dot  { opacity: 0; }
  body.cursor-image .cursor-ring {
    width: 88px; height: 88px;
    border-color: var(--accent);
    background: rgba(168,255,60,0.08);
  }
}

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-pill);   /* pill shape */
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
@media (min-width: 900px) { .btn { cursor: none; } }

.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.05);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-accent {
  background: var(--accent);
  color: #000;
}
.btn-accent:hover {
  background: #b8ff52;
  box-shadow: 0 0 24px var(--accent-glow-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-lg   { padding: 0.9rem 1.5rem; font-size: 0.88rem; }
.btn-sm   { padding: 0.5rem 1.2rem;  font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; }
@media (min-width: 480px) {
  .btn-lg { padding: 0.95rem 2.1rem; font-size: 0.93rem; }
}

.arrow-icon { transition: transform var(--transition); }
.btn:hover .arrow-icon { transform: translateX(4px); }

/* ══════════════════════════════════════════════
   SHARED SECTION STYLES — mobile-first
══════════════════════════════════════════════ */
.section { padding: 64px 0; position: relative; z-index: 1; }
@media (min-width: 768px)  { .section { padding: 88px 0; } }
@media (min-width: 1024px) { .section { padding: 110px 0; } }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.eyebrow-pulse {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}
.eyebrow-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.2); }
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.text-accent { color: var(--accent); }

.section-sub {
  font-size: 0.95rem;
  color: var(--gray-2);
  line-height: 1.75;
  max-width: 560px;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .section-head { margin-bottom: 4rem; } }
.section-head .section-eyebrow { justify-content: center; }
.section-head .section-sub     { margin: 0 auto; }

/* ══════════════════════════════════════════════
   SOCIAL SIDEBAR — fixed left, desktop only
══════════════════════════════════════════════ */
.social-sidebar {
  display: none;   /* hidden on mobile */
}

@media (min-width: 900px) {
  .social-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: var(--sidebar-w);
    z-index: 500;
    padding: 1.5rem 0;
    /* subtle dark green strip */
    background: linear-gradient(180deg, transparent, rgba(11,27,11,0.6) 20%, rgba(11,27,11,0.6) 80%, transparent);
  }
}

.ssb-label {
  font-family: var(--font-head);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  user-select: none;
}

.ssb-line {
  width: 1px;
  height: 28px;
  background: var(--gray-4);
  border-radius: 1px;
}

.ssb-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.ssb-icon {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-3);
  cursor: none;
  transition: color var(--transition), transform var(--transition);
}
.ssb-icon svg { width: 14px; height: 14px; }
.ssb-icon:hover {
  color: var(--accent);
  transform: scale(1.2);
}

/* ══════════════════════════════════════════════
   NAVBAR — mobile-first (hamburger default)
══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(8,8,8,0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
}
@media (min-width: 640px)  { .nav-container { padding: 0 2rem; } }
@media (min-width: 900px)  { .nav-container { padding-left: calc(var(--sidebar-w) + 2rem); } }
@media (min-width: 1280px) { .nav-container { padding-left: calc(var(--sidebar-w) + 3rem); } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

/* Nav links — hidden on mobile, shown on desktop */
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gray-2);
  cursor: none;
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

/* CTA — hidden on mobile */
.nav-cta {
  display: none;
  margin-left: 1.2rem;
}
@media (min-width: 900px) { .nav-cta { display: inline-flex; } }

/* Hamburger — shown on mobile */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) { .hamburger { display: none; } }

/* Mobile menu dropdown */
.mobile-menu {
  display: block;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.25rem 1.75rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition), opacity var(--transition);
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}
.mobile-link {
  display: block;
  padding: 0.8rem 0;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-2);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--accent); }
.mobile-cta { width: 100%; justify-content: center; }

@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ══════════════════════════════════════════════
   HERO — mobile-first
══════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
  z-index: 1;
}
@media (min-width: 768px) { .hero { padding: 120px 0 80px; } }

/* Subtle green-tinted grid bg */
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(100,200,60,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,200,60,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* Glow orbs */
.hero-glow-1 {
  position: absolute;
  top: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168,255,60,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -150px; right: -50px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(50,200,80,0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* Layout — 1 col mobile, 3fr/2fr desktop (content heavier left) */
.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}
@media (min-width: 900px) {
  .hero-container {
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
  }
}

/* ── Hero Left ───────────────────────── */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  text-align: left;
  align-items: flex-start;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-2);
  opacity: 0;
  transform: translateY(18px);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.02;
  color: var(--white);
  letter-spacing: -0.03em;
}

.hero-word {
  display: block;
  opacity: 0;
  transform: translateY(38px);
}
.accent-word { color: var(--accent); }

.hero-desc {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  color: var(--gray-2);
  line-height: 1.8;
  width: 100%;
  max-width: 520px;
  opacity: 0;
  transform: translateY(18px);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  opacity: 0;
  transform: translateY(18px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 100%;
  padding-top: 0.5rem;
  opacity: 0;
  transform: translateY(18px);
}
@media (min-width: 480px) {
  .hero-stats { gap: 1.25rem; }
}

.hero-stat { display: flex; flex-direction: column; gap: 0.15rem; }

.hstat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hstat-plus { color: var(--accent); font-size: 1.1rem; }
.hstat-label { font-size: 0.72rem; color: var(--gray-2); letter-spacing: 0.03em; white-space: nowrap; }

.hstat-sep {
  width: 1px;
  height: 36px;
  background: var(--border-2);
}

/* ══════════════════════════════════════════════
   FULL-PAGE SPACE CANVAS
══════════════════════════════════════════════ */
#spaceCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* ── Hero Right — hidden on mobile, free-floating image on desktop ── */
.hero-right {
  display: none;   /* mobile: hidden */
  position: relative;
  /* NO border-radius, NO overflow:hidden, NO background box */
}
@media (min-width: 900px) {
  .hero-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

/* GSAP handles entrance — no CSS transform here to avoid snap-back on clearProps */
.hero-img-wrap {
  position: relative;
  opacity: 0;
  display: inline-block;
}

/* Ambient glow behind the image */
.hero-img-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(168,255,60,0.12) 0%, transparent 65%);
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

/* Slideshow container — floats as one unit */
.hero-slideshow {
  position: relative;
  width: 100%;
  max-width: 600px;
  animation: heroFloat 6s ease-in-out infinite;
}

/* Invisible in-flow spacer — keeps container height stable during transitions */
.hs-anchor {
  width: 100%;
  display: block;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

/* Slide images — stacked absolutely on top of the anchor */
.hs-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  display: block;
  border-radius: 0;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.7));
  opacity: 0;
  z-index: 1;
  will-change: transform, opacity;
}

/* Active slide — visible, on top */
.hs-img.hs-active {
  opacity: 1;
  z-index: 2;
}

/* ── Enter: materialises from below, scales into place ── */
@keyframes hsEnter {
  from {
    opacity: 0;
    transform: scale(0.86) translateY(18px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ── Exit: zooms forward and rises out ── */
@keyframes hsExit {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(1.1) translateY(-14px);
  }
}

.hs-img.hs-entering {
  animation: hsEnter 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 3;
}

.hs-img.hs-exiting {
  animation: hsExit 0.65s cubic-bezier(0.4, 0, 1, 1) forwards;
  z-index: 2;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

/* cursor hint */
.cursor-hint { position: absolute; inset: 0; z-index: 2; }

/* Floating badges */
.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  z-index: 3;
}
.badge-top    { top: 8%; right: 4%;  animation: badgeFloat 4s ease-in-out infinite; }
.badge-bottom { bottom: 8%; left: 4%; animation: badgeFloat 4s ease-in-out infinite 2s; }

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.badge-emoji { font-size: 1.3rem; }
.badge-body  { display: flex; flex-direction: column; }
.badge-body strong {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.badge-body span { font-size: 0.68rem; color: var(--gray-2); }

/* cursor hint */
.cursor-hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 4;
}
.hero-right:hover .cursor-hint { opacity: 1; }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.38;
  z-index: 2;
  display: none;   /* hidden on mobile */
}
@media (min-width: 768px) { .scroll-hint { display: flex; } }

.scroll-line-wrap {
  width: 1px; height: 38px;
  background: var(--gray-3);
  overflow: hidden;
}
.scroll-line {
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.scroll-hint span {
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gray-2);
}

/* ══════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════ */
.marquee-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(14,31,14,0.72);
  overflow: hidden;
  position: relative; z-index: 1;
}

.marquee-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 1rem;
}

.marquee-outer { overflow: hidden; }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-outer:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.mtag {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-2);
  white-space: nowrap;
  transition: color var(--transition);
}
.mtag:hover { color: var(--accent); }
.mdot { color: var(--accent); font-size: 0.55rem; opacity: 0.55; }

/* ══════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════ */
.services-section { background: transparent; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 560px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .services-grid { grid-template-columns: repeat(5, 1fr); }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
}
@media (min-width: 900px) { .service-card { cursor: none; padding: 2rem; } }

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: rgba(168,255,60,0.25);
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(168,255,60,0.1);
}
.service-card:hover::before { opacity: 1; }

.svc-icon {
  width: 46px; height: 46px;
  background: rgba(168,255,60,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.svc-icon svg { width: 22px; height: 22px; color: var(--accent); }
.service-card:hover .svc-icon { background: rgba(168,255,60,0.18); }

.svc-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.svc-desc { font-size: 0.86rem; color: var(--gray-2); line-height: 1.72; flex: 1; }

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition: gap var(--transition);
}
.svc-link span { transition: transform var(--transition); }
.svc-link:hover { gap: 0.7rem; }
.svc-link:hover span { transform: translateX(3px); }

/* ══════════════════════════════════════════════
   ABOUT — visual hidden on mobile
══════════════════════════════════════════════ */
.about-section { background: rgba(14,31,14,0.65); position: relative; z-index: 1; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
}

/* Hide image column on mobile */
.about-visual { display: none; }
@media (min-width: 900px) { .about-visual { display: block; position: relative; } }

.about-img-frame { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-img-frame img {
  width: 100%;
  border-radius: var(--radius);
  filter: brightness(0.82);
}
.about-img-accent {
  position: absolute;
  bottom: -14px; right: -14px;
  width: 58%; height: 58%;
  background: var(--accent);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.11;
}

.floating-card {
  position: absolute;
  bottom: -22px; left: -22px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  animation: floatCard 5s ease-in-out infinite;
  z-index: 2;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.about-card-icon { font-size: 1.4rem; }
.floating-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
}
.floating-card span { font-size: 0.7rem; color: var(--gray-2); }

.about-content { display: flex; flex-direction: column; gap: 1.1rem; width: 100%; text-align: left; }

.about-body { font-size: 0.92rem; color: var(--gray-2); line-height: 1.82; }

.about-checks { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.2rem; }
.check-item {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.88rem; color: var(--gray-1);
}
.check-mark {
  width: 20px; height: 20px;
  background: rgba(168,255,60,0.14);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ══════════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════════ */
.products-section { background: transparent; position: relative; z-index: 1; }

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 100%;
}
@media (min-width: 900px) { .product-card { cursor: none; padding: 2.5rem; } }

.product-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(168,255,60,0.06), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.product-card:hover {
  border-color: rgba(168,255,60,0.28);
  transform: translateY(-5px);
  box-shadow: 0 22px 56px rgba(0,0,0,0.5);
}
.product-card:hover::after { opacity: 1; }

.product-card-alt::after {
  background: radial-gradient(ellipse at bottom left, rgba(0,180,255,0.06), transparent 60%);
}
.product-card-alt:hover { border-color: rgba(0,180,255,0.22); }

.product-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
}
.product-brand { display: flex; align-items: center; gap: 0.55rem; }
.product-emoji { font-size: 1.4rem; }
.product-name {
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 700; color: var(--white);
}

.product-badge {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(168,255,60,0.1);
  border: 1px solid rgba(168,255,60,0.2);
  padding: 0.22rem 0.65rem;
  border-radius: 99px;
}
.product-badge-alt {
  color: #38bdf8;
  background: rgba(56,189,248,0.1);
  border-color: rgba(56,189,248,0.2);
}

.product-headline {
  font-family: var(--font-head);
  font-size: 1.2rem; font-weight: 700;
  color: var(--white); line-height: 1.3;
}
.product-body { font-size: 0.88rem; color: var(--gray-2); line-height: 1.78; flex: 1; }

.product-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.product-tags span {
  font-size: 0.7rem; font-weight: 500;
  color: var(--gray-2);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-xs);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.product-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.72rem;
  padding: 0.5rem 0.65rem;
}
@media (min-width: 480px) {
  .product-actions { flex-direction: row; }
}
@media (min-width: 1100px) {
  .product-actions .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}

/* ══════════════════════════════════════════════
   STATS — stacked mobile, row desktop
══════════════════════════════════════════════ */
.stats-section {
  background: rgba(17,31,17,0.78);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
  position: relative; z-index: 1;
}
@media (min-width: 768px) { .stats-section { padding: 5rem 0; } }

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 2×2 on mobile */
  gap: 2rem 1rem;
  width: 100%;
}
@media (min-width: 640px) {
  .stats-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
  }
}

.stat-block {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.35rem; text-align: center;
}

.stat-count {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  color: var(--accent); line-height: 1;
  display: inline;
}
.stat-suf {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 700;
  color: var(--accent);
  vertical-align: super; margin-left: 1px;
}
.stat-lbl {
  font-size: 0.78rem; color: var(--gray-2);
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* separators only show in the flex-row layout */
.stat-sep {
  display: none;
}
@media (min-width: 640px) {
  .stat-sep { display: block; width: 1px; height: 56px; background: var(--border-2); }
}

/* ══════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════ */
.why-section { background: rgba(14,31,14,0.65); position: relative; z-index: 1; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 560px)  { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: all var(--transition);
  cursor: pointer;
  width: 100%;
}
@media (min-width: 900px) { .why-card { cursor: none; padding: 2rem; } }

.why-card:hover {
  border-color: rgba(168,255,60,0.2);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.4);
}

.why-icon {
  font-size: 1.8rem;
  width: 50px; height: 50px;
  background: rgba(168,255,60,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.why-card:hover .why-icon { background: rgba(168,255,60,0.15); }

.why-card h3 {
  font-family: var(--font-head);
  font-size: 0.97rem; font-weight: 600; color: var(--white);
}
.why-card p { font-size: 0.85rem; color: var(--gray-2); line-height: 1.72; }

/* ══════════════════════════════════════════════
   PROCESS — 1col → 2col → 4col
══════════════════════════════════════════════ */
.process-section { background: transparent; position: relative; z-index: 1; }

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}
@media (min-width: 640px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  /* connecting line — desktop only */
  .process-grid::before {
    content: '';
    position: absolute;
    top: 1.45rem; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-2) 20%, var(--border-2) 80%, transparent);
    z-index: 0;
  }
}

.process-step {
  display: flex; flex-direction: column; gap: 1.1rem;
  position: relative; z-index: 1;
}
@media (min-width: 1024px) { .process-step { padding: 0 1.5rem 2rem; } }

.step-num {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.1em;
  background: var(--bg);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(168,255,60,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.process-step:hover .step-num {
  background: var(--accent); color: #000;
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}

.step-body { display: flex; flex-direction: column; gap: 0.45rem; }
.step-body h3 {
  font-family: var(--font-head);
  font-size: 0.93rem; font-weight: 600; color: var(--white);
}
.step-body p { font-size: 0.83rem; color: var(--gray-2); line-height: 1.7; }

/* ══════════════════════════════════════════════
   FAQ — AEO / answer-ready content
══════════════════════════════════════════════ */
.faq-section { background: transparent; position: relative; z-index: 1; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: rgba(168,255,60,0.28);
}

.faq-question {
  padding: 1.1rem 1.25rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.9rem;
  color: var(--gray-2);
  line-height: 1.78;
}

.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover { color: var(--white); }

/* ══════════════════════════════════════════════
   CONTACT — 1col mobile, 2col desktop
══════════════════════════════════════════════ */
.contact-section { background: rgba(14,31,14,0.65); position: relative; z-index: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
  }
}

.contact-info { display: flex; flex-direction: column; gap: 1.4rem; width: 100%; text-align: left; }
.contact-intro { font-size: 0.93rem; color: var(--gray-2); line-height: 1.82; }

.cinfo-list { display: flex; flex-direction: column; gap: 1.1rem; }
.cinfo-item { display: flex; align-items: flex-start; gap: 0.9rem; }

.cinfo-icon {
  width: 42px; height: 42px;
  background: rgba(168,255,60,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.cinfo-label {
  display: block;
  font-size: 0.68rem; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--gray-3);
  margin-bottom: 0.2rem; font-weight: 600;
}
.cinfo-val { font-size: 0.88rem; color: var(--gray-1); transition: color var(--transition); }
a.cinfo-val:hover { color: var(--accent); }

/* Form box */
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
@media (min-width: 640px) { .contact-form-box { padding: 2.5rem; } }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }

/* 1col on mobile, 2col on tablet+ */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label {
  font-size: 0.78rem; font-weight: 500;
  color: var(--gray-2); letter-spacing: 0.03em;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.72rem 0.95rem;
  font-size: 0.87rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--gray-3); }
.form-field select { color: var(--gray-2); cursor: pointer; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(168,255,60,0.4);
  box-shadow: 0 0 0 3px rgba(168,255,60,0.08);
}

/* ══════════════════════════════════════════════
   FOOTER — 1col → 2col → 4col
══════════════════════════════════════════════ */
.footer {
  background: rgba(8,20,8,0.92);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
  position: relative; z-index: 1;
}
@media (min-width: 768px) { .footer { padding: 5rem 0 0; } }

.footer-top {
  display: grid;
  grid-template-columns: 1fr;      /* mobile */
  gap: 2rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
}

.footer-brand { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-brand p {
  font-size: 0.86rem; color: var(--gray-2);
  line-height: 1.7; max-width: 280px;
}
.footer-socials { display: flex; gap: 0.65rem; margin-top: 0.3rem; }

.fsoc {
  width: 34px; height: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600;
  color: var(--gray-2); cursor: pointer;
  transition: all var(--transition);
}
.fsoc:hover { border-color: var(--accent); color: var(--accent); }

.footer-col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--white); margin-bottom: 0.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col ul li a {
  font-size: 0.86rem; color: var(--gray-2);
  cursor: pointer; transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;        /* left-aligned on mobile */
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom span { font-size: 0.8rem; color: var(--gray-3); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a {
  font-size: 0.8rem; color: var(--gray-3);
  cursor: pointer; transition: color var(--transition);
}
.footer-legal a:hover { color: var(--gray-1); }

/* ══════════════════════════════════════════════
   AOS OVERRIDES
══════════════════════════════════════════════ */
[data-aos] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ══════════════════════════════════════════════
   MAGNETIC BUTTON
══════════════════════════════════════════════ */
.magnetic { will-change: transform; }

/* ══════════════════════════════════════════════
   TOUCH DEVICES — restore default cursor
══════════════════════════════════════════════ */
@media (hover: none) {
  body   { cursor: auto; }
  .btn, a, button, .service-card,
  .product-card, .why-card, .fsoc { cursor: pointer; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ══════════════════════════════════════════════
   LEGAL MODAL  (Privacy Policy & Terms)
══════════════════════════════════════════════ */
.legal-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.legal-modal.open { display: flex; }

.lm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lm-card {
  position: relative;
  z-index: 1;
  background: #0e1f0e;
  border: 1px solid rgba(168,255,60,0.18);
  border-radius: var(--radius);
  width: 100%;
  max-width: 840px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(168,255,60,0.05),
    0 40px 120px rgba(0,0,0,0.8);
  animation: lmSlideIn 0.35s cubic-bezier(0.16,1,0.3,1);
}
@keyframes lmSlideIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Header — tabs + close */
.lm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(168,255,60,0.1);
  flex-shrink: 0;
  gap: 1rem;
}

.lm-tabs {
  display: flex;
  gap: 0.25rem;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-pill);
  padding: 0.25rem;
}
.lm-tab {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-2);
  background: none;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.lm-tab:hover { color: var(--white); }
.lm-tab.active {
  background: var(--accent);
  color: #000;
}

.lm-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--gray-2);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.lm-close:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.lm-close svg { width: 14px; height: 14px; }

/* Scrollable body */
.lm-body {
  overflow-y: auto;
  padding: 2rem 2.5rem;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-4) transparent;
}
.lm-body::-webkit-scrollbar { width: 5px; }
.lm-body::-webkit-scrollbar-thumb { background: var(--gray-4); border-radius: 99px; }

.lm-hidden { display: none; }

/* Content typography */
.lm-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.lm-meta {
  font-size: 0.75rem;
  color: var(--gray-3);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.lm-content h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1.8rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lm-content p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--gray-1);
  margin-bottom: 0.75rem;
}
.lm-content ul {
  margin: 0.5rem 0 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.lm-content ul li {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--gray-1);
  list-style: disc;
}
.lm-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lm-content strong { color: var(--white); }

@media (max-width: 600px) {
  .lm-body { padding: 1.5rem 1.25rem; }
  .lm-tab  { font-size: 0.72rem; padding: 0.35rem 0.75rem; }
}

/* ══════════════════════════════════════════════
   3D SERVICES CAROUSEL
══════════════════════════════════════════════ */
.svc-carousel-outer {
  position: relative;
  margin-top: 80px;
  margin-bottom: 0;
}

/* 3D stage */
.svc-scene {
  width: 100%;
  height: 300px;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  position: relative;
  overflow: visible;
}

.svc-ring {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Cards inside the ring */
.svc-ring .service-card {
  position: absolute;
  width: 220px;
  height: 260px;
  left: calc(50% - 110px);
  top: 0;
  margin: 0;
  padding: 1rem 1.1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  will-change: transform, opacity;
  transition: opacity 0.9s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

.svc-ring .service-card .svc-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0.7rem;
}

.svc-ring .service-card .svc-icon svg {
  width: 18px;
  height: 18px;
}

.svc-ring .service-card .svc-title {
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.svc-ring .service-card .svc-desc {
  font-size: 0.74rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.svc-ring .service-card .svc-link {
  font-size: 0.78rem;
  margin-top: 0.7rem;
}

.svc-ring .service-card.svc-active {
  pointer-events: all;
  box-shadow: 0 0 0 1px rgba(168,255,60,0.25), 0 24px 60px rgba(0,0,0,0.5);
}

/* Prevent hover translateY from fighting the JS 3D transform */
.svc-ring .service-card,
.svc-ring .service-card:hover {
  transform: var(--svc-tf) !important;
  transition: opacity 0.9s ease, box-shadow 0.3s ease !important;
}

/* Navigation row */
.svc-carousel-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.svc-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.04);
  color: var(--gray-1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.svc-nav-btn svg { width: 18px; height: 18px; }
.svc-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b1b0b;
  transform: scale(1.08);
}

/* Dots */
.svc-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.svc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-3);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s;
  border: none;
  padding: 0;
}
.svc-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
  transform: none;
}

/* Mobile: flat slider */
@media (max-width: 767px) {
  .svc-scene {
    height: auto;
    perspective: none;
    overflow: hidden;
  }
  .svc-ring {
    transform: none !important;
    transform-style: flat;
    display: flex;
    transition: none;
  }
  .svc-ring .service-card {
    position: relative;
    left: auto;
    top: auto;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: all !important;
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    display: none;
  }
  .svc-ring .service-card.svc-active {
    display: block;
    box-shadow: none;
  }
}

/* ══════════════════════════════════════════════
   AI CHAT WIDGET
══════════════════════════════════════════════ */
#chatWidget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Toggle bubble */
#chatToggleBtn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(168,255,60,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
#chatToggleBtn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 36px rgba(168,255,60,0.55);
}
#chatToggleBtn svg {
  width: 22px;
  height: 22px;
  color: #0b1b0b;
  position: absolute;
  transition: opacity 0.2s, transform 0.2s;
}
.chat-icon-close { opacity: 0; transform: rotate(-90deg); }
#chatWidget.open .chat-icon-open  { opacity: 0; transform: rotate(90deg); }
#chatWidget.open .chat-icon-close { opacity: 1; transform: rotate(0deg); }

/* Panel */
#chatPanel {
  width: 360px;
  height: 520px;
  background: rgba(10,24,10,0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.65), 0 0 0 1px rgba(168,255,60,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16,1,0.3,1), transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
#chatWidget.open #chatPanel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(14,31,14,0.7);
  flex-shrink: 0;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #0b1b0b;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  line-height: 1.2;
}
.chat-status {
  font-size: 11px;
  color: var(--gray-2);
  margin-top: 1px;
}
.chat-close {
  background: none;
  border: none;
  color: var(--gray-2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.chat-close:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--gray-3); border-radius: 2px; }

.chat-msg {
  max-width: 84%;
  font-size: 13.5px;
  line-height: 1.58;
  padding: 9px 13px;
  border-radius: 16px;
  animation: chatMsgIn 0.18s ease;
  word-wrap: break-word;
}
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot {
  background: var(--bg-card-2);
  color: var(--gray-1);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-msg.user {
  background: var(--accent);
  color: #0b1b0b;
  font-weight: 500;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

/* Typing indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 11px 14px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-2);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0);   opacity: 0.4; }
  30%            { transform: translateY(-5px); opacity: 1;   }
}

/* Footer / input */
.chat-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-top: 1px solid var(--border);
  background: rgba(14,31,14,0.5);
  flex-shrink: 0;
}
#chatInputField {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 9px 13px;
  color: var(--white);
  font-size: 13.5px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
#chatInputField:focus  { border-color: rgba(168,255,60,0.45); }
#chatInputField::placeholder { color: var(--gray-3); }
#chatSendBtn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s, opacity 0.15s;
}
#chatSendBtn:hover    { background: var(--accent-dim); transform: scale(1.06); }
#chatSendBtn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
#chatSendBtn svg      { width: 15px; height: 15px; color: #0b1b0b; }

/* Mobile */
@media (max-width: 420px) {
  #chatWidget  { bottom: 16px; right: 16px; }
  #chatPanel   { width: calc(100vw - 32px); height: 70vh; }
}
