/* ═══════════════════════════════════════════════════════════
   DM CABLES — Precision since 1953
   Dark industrial premium theme · fully responsive
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #06090f;
  --bg-alt: #0a0f18;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.08);
  --gold: #e8b64c;
  --gold-light: #f5d488;
  --gold-dim: rgba(232, 182, 76, 0.15);
  --blue: #3a7abc;
  --blue-deep: #16273f;
  --text: #eef2f7;
  --text-dim: #9aa7b8;
  --text-faint: #5d6b7d;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Sora', sans-serif;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: all 0.4s var(--ease-out);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 12px 40px rgba(232, 182, 76, 0.25);
  --radius: 18px;
  --on-accent: #06090f;
  --nav-bg: rgba(6, 9, 15, 0.82);
  --footer-bg: #04060b;
  --menu-bg: rgba(6, 9, 15, 0.96);
  --bar-track: rgba(255, 255, 255, 0.08);
  --ghost-num: rgba(255, 255, 255, 0.05);
  --noise-opacity: 0.035;
  --map-filter: grayscale(0.85) invert(0.92) hue-rotate(180deg) contrast(0.9);
}

html[data-theme="light"] {
  --bg: #f4f6fa;
  --bg-alt: #eaeef5;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-border: rgba(13, 27, 42, 0.1);
  --gold: #b8862e;
  --gold-light: #d9a83f;
  --gold-dim: rgba(184, 134, 46, 0.12);
  --blue-deep: #dce6f2;
  --text: #101826;
  --text-dim: #47576b;
  --text-faint: #7e8ca0;
  --shadow: 0 10px 36px rgba(16, 24, 38, 0.12);
  --shadow-gold: 0 12px 36px rgba(184, 134, 46, 0.28);
  --nav-bg: rgba(244, 246, 250, 0.85);
  --footer-bg: #e2e8f2;
  --menu-bg: rgba(244, 246, 250, 0.97);
  --bar-track: rgba(16, 24, 38, 0.1);
  --ghost-num: rgba(16, 24, 38, 0.06);
  --noise-opacity: 0.02;
  --map-filter: none;
}

html { scroll-behavior: smooth; font-size: 16px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

::selection { background: var(--gold); color: var(--bg); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), var(--blue)); border-radius: 8px; border: 2px solid var(--bg); }

/* Gradient text helper */
.grad {
  background: linear-gradient(120deg, var(--gold), var(--gold-light) 50%, var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* Glass card helper */
.glass {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

/* Noise overlay */
.noise {
  position: fixed; inset: -50%;
  z-index: 9000; pointer-events: none; opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── PRELOADER ── */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}
.preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.preloader-cable { position: absolute; top: 50%; left: 50%; width: 190px; height: 190px; transform: translate(-50%, -54%) rotate(-90deg); }
.preloader-cable circle { fill: none; stroke-width: 2; }
.ring-track { stroke: rgba(255, 255, 255, 0.07); }
.ring-fill {
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  filter: drop-shadow(0 0 8px rgba(232, 182, 76, 0.6));
  transition: stroke-dashoffset 0.25s linear;
}
.preloader-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: 5px; }
.preloader-logo span { color: var(--gold); }
.preloader-count { font-size: 2.2rem; font-weight: 300; color: var(--gold); font-family: var(--font-display); }
.preloader-tagline { font-size: 0.65rem; letter-spacing: 4px; text-transform: uppercase; color: var(--text-faint); }

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1002; box-shadow: 0 0 14px rgba(232, 182, 76, 0.8);
}

/* ── CUSTOM CURSOR ── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; border-radius: 50%;
  pointer-events: none; z-index: 9500;
  transform: translate(-50%, -50%); opacity: 0;
}
.cursor-dot { width: 7px; height: 7px; background: var(--gold); transition: opacity 0.3s; }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(232, 182, 76, 0.55);
  transition: opacity 0.3s, width 0.25s var(--ease-spring), height 0.25s var(--ease-spring), background 0.25s;
}
.cursor-ring.hovering { width: 62px; height: 62px; background: var(--gold-dim); border-color: var(--gold); }
body.cursor-active .cursor-dot, body.cursor-active .cursor-ring { opacity: 1; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000; padding: 20px 0;
  transition: padding 0.4s var(--ease-out), background 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  padding: 10px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--surface-border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-badge {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #c08a2c);
  color: var(--on-accent); font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  box-shadow: var(--shadow-gold);
}
.logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; display: flex; flex-direction: column; line-height: 1.1; }
.logo-text em { font-style: normal; font-size: 0.58rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.nav-links { display: flex; gap: 28px; }
.nav-link {
  position: relative; font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-dim);
  transition: color 0.3s; padding: 4px 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--gold); border-radius: 2px;
  transition: width 0.35s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.btn-nav {
  padding: 10px 24px; font-size: 0.8rem;
  background: transparent; color: var(--gold);
  border: 1px solid rgba(232, 182, 76, 0.5); border-radius: 40px;
}
.btn-nav:hover { background: var(--gold); color: var(--on-accent); box-shadow: var(--shadow-gold); }

/* Theme toggle */
.theme-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--surface-border); border-radius: 12px;
  color: var(--gold); cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s var(--ease-spring);
}
.theme-toggle:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.theme-toggle svg { width: 20px; height: 20px; transition: transform 0.5s var(--ease-spring); }
.theme-toggle:hover svg { transform: rotate(40deg); }
html[data-theme="dark"] .icon-sun { display: none; }
html[data-theme="light"] .icon-moon { display: none; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 7px;
  width: 44px; height: 44px; background: var(--surface);
  border: 1px solid var(--surface-border); border-radius: 12px;
  cursor: pointer; z-index: 1101; align-items: center;
}
.hamburger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.35s var(--ease-spring), opacity 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile fullscreen menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--menu-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8vh;
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mobile-links .nav-link {
  font-family: var(--font-display); font-size: clamp(1.6rem, 6vw, 2.4rem);
  text-transform: none; letter-spacing: 0; color: var(--text); padding: 8px 0;
  opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.mobile-menu.open .mobile-links .nav-link { opacity: 1; transform: translateY(0); transition-delay: calc(var(--i, 0) * 60ms + 120ms); }
.mobile-menu-footer { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-menu-footer a { color: var(--text-dim); font-size: 0.9rem; }
.mobile-menu-footer a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
  background: #06090f;
  color: #eef2f7;
}

/* Image slider (behind the 3D canvas) */
.hero-slider { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.active img { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08) translate(0, 0); } to { transform: scale(1.18) translate(-1.5%, 1%); } }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6, 9, 15, 0.88) 0%, rgba(10, 20, 34, 0.68) 50%, rgba(6, 9, 15, 0.84) 100%);
}

#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  mix-blend-mode: screen; opacity: 0.9; pointer-events: none;
}
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, transparent 40%, rgba(6, 9, 15, 0.7) 100%),
    linear-gradient(to bottom, rgba(6, 9, 15, 0.4), transparent 25%, transparent 72%, var(--bg) 100%);
}

/* Slide indicators */
.hero-indicators {
  position: absolute; bottom: 30px; right: max(28px, 4vw);
  z-index: 3; display: flex; gap: 10px;
}
.hero-indicators button {
  width: 26px; height: 4px; border-radius: 3px;
  border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.3s, width 0.35s var(--ease-out);
}
.hero-indicators button.active { background: var(--gold-light); width: 42px; box-shadow: 0 0 10px rgba(232, 182, 76, 0.6); }
.hero-content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 22px; border-radius: 40px;
  border: 1px solid rgba(232, 182, 76, 0.35);
  background: rgba(232, 182, 76, 0.07);
  color: var(--gold); font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 28px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(232, 182, 76, 0.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(232, 182, 76, 0); } }

.hero-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  max-width: 15ch; margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero-title .char { display: inline-block; }
.hero-tagline {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: #aab6c6; max-width: 62ch; line-height: 1.9;
  font-weight: 300; margin-bottom: 38px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 52px; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 38px; border-radius: 50px;
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.4px;
  cursor: pointer; border: none; overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, background 0.35s, color 0.35s, border-color 0.35s;
}
.btn::before {
  content: ''; position: absolute; top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn:hover::before { left: 140%; }
.btn-primary { background: linear-gradient(135deg, var(--gold), #c8922e); color: var(--on-accent); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-primary .arrow { transition: transform 0.3s var(--ease-spring); }
.btn-primary:hover .arrow { transform: translateY(3px); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: #eef2f7; border: 1px solid rgba(255, 255, 255, 0.25); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-3px); }

.hero-stats { display: flex; gap: clamp(24px, 6vw, 72px); flex-wrap: wrap; justify-content: center; }
.hstat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hstat .num { font-family: var(--font-display); font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--gold-light); }
.hstat .num::after { content: '+'; color: var(--gold-light); }
.hstat .lbl { font-size: 0.68rem; letter-spacing: 2.5px; text-transform: uppercase; color: #7e8ca0; }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #7e8ca0; font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
  animation: bounce 2.2s infinite;
}
.hero-scroll .mouse { width: 22px; height: 36px; border: 1.5px solid #7e8ca0; border-radius: 12px; position: relative; }
.hero-scroll .mouse::after {
  content: ''; width: 3px; height: 7px; background: var(--gold); border-radius: 2px;
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  animation: scrollWheel 1.6s infinite;
}
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-9px); } 60% { transform: translateX(-50%) translateY(-4px); } }
@keyframes scrollWheel { 0% { opacity: 1; transform: translateX(-50%) translateY(0); } 100% { opacity: 0; transform: translateX(-50%) translateY(12px); } }

/* ── MARQUEE ── */
.marquee {
  background: var(--bg-alt); overflow: hidden; padding: 18px 0;
  border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border);
  white-space: nowrap; position: relative; z-index: 2;
}
.marquee-track { display: inline-flex; animation: marquee 30s linear infinite; will-change: transform; }
.marquee-track span { font-family: var(--font-display); font-size: 1rem; color: var(--text-faint); letter-spacing: 2px; text-transform: uppercase; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── SECTIONS ── */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); }
.section-header .label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 30px;
  background: var(--gold-dim); border: 1px solid rgba(232, 182, 76, 0.3);
  color: var(--gold); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; letter-spacing: -0.02em; }
.section-header .divider {
  width: 64px; height: 3px; margin: 0 auto 18px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}
.section-header p { color: var(--text-dim); max-width: 60ch; margin-inline: auto; font-size: 0.95rem; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.about-image { position: relative; }
.img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.img-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(232, 182, 76, 0.16));
  pointer-events: none;
}
.img-frame img { width: 100%; height: clamp(320px, 42vw, 480px); object-fit: cover; transform: scale(1.06); }
.about-chip {
  position: absolute; bottom: -18px; right: 22px;
  padding: 14px 26px; border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), #c08a2c);
  color: var(--bg); font-size: 0.85rem; font-weight: 500;
  box-shadow: var(--shadow-gold);
}
.about-chip strong { font-family: var(--font-display); font-size: 1.15rem; }
.about-text h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; }
.about-text p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.9; margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat-box {
  text-align: center; padding: 20px 12px;
  background: var(--surface); border: 1px solid var(--surface-border); border-radius: 14px;
  transition: var(--transition);
}
.stat-box:hover { transform: translateY(-5px); border-color: rgba(232, 182, 76, 0.4); box-shadow: var(--shadow); }
.stat-box .number { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; color: var(--gold); }
.stat-box .lbl { font-size: 0.66rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; }

/* ── SKILLS ── */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.skill-card { padding: 34px 28px; text-align: center; position: relative; transition: transform 0.4s var(--ease-spring), border-color 0.4s, box-shadow 0.4s; overflow: hidden; }
.skill-card:hover { transform: translateY(-8px); border-color: rgba(232, 182, 76, 0.35); box-shadow: var(--shadow); }
.skill-icon {
  width: 68px; height: 68px; margin: 0 auto 20px;
  display: grid; place-items: center; border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-deep), #0d1626);
  border: 1px solid rgba(58, 122, 188, 0.35);
  color: var(--gold); transition: transform 0.5s var(--ease-spring), box-shadow 0.4s;
}
.skill-card:hover .skill-icon { transform: rotate(-6deg) scale(1.1); box-shadow: var(--shadow-gold); }
.skill-icon svg { width: 30px; height: 30px; }
.skill-card h4 { font-size: 1.05rem; margin-bottom: 16px; }
.skill-bar { width: 100%; height: 6px; background: var(--bar-track); border-radius: 3px; overflow: hidden; }
.skill-bar-fill {
  height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  box-shadow: 0 0 10px rgba(232, 182, 76, 0.5);
}
.skill-pct { display: block; margin-top: 10px; font-family: var(--font-display); font-weight: 600; color: var(--gold); font-size: 0.95rem; }
.skill-pct::after { content: '%'; }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  padding: 44px 30px 38px; text-align: center; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-spring), border-color 0.4s, box-shadow 0.4s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-10px); border-color: rgba(232, 182, 76, 0.3); box-shadow: var(--shadow); }
.card-num {
  position: absolute; top: 16px; right: 22px;
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: var(--ghost-num);
}
.service-icon {
  width: 78px; height: 78px; margin: 0 auto 24px;
  display: grid; place-items: center; border-radius: 22px;
  background: linear-gradient(135deg, var(--blue-deep), #0d1626);
  border: 1px solid rgba(58, 122, 188, 0.35);
  transition: transform 0.5s var(--ease-spring), background 0.4s;
}
.service-card:hover .service-icon { transform: rotate(8deg) scale(1.08); background: linear-gradient(135deg, var(--gold), #c08a2c); }
.service-icon svg { width: 32px; height: 32px; fill: var(--gold); transition: fill 0.4s; }
.service-card:hover .service-icon svg { fill: var(--on-accent); }
.service-card h4 { font-size: 1.12rem; margin-bottom: 12px; }
.service-card p { color: var(--text-dim); font-size: 0.88rem; }

/* ── SHOWCASE SWIPER ── */
.showcase-swiper { width: 100%; padding: 20px 0 64px; overflow: hidden; }
.showcase-swiper .swiper-slide {
  width: clamp(300px, 44vw, 680px); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--surface-border);
}
.showcase-swiper .swiper-slide img {
  width: 100%; height: clamp(220px, 26vw, 420px); object-fit: cover; display: block;
}
@media (max-width: 768px) {
  .showcase-swiper .swiper-slide { width: 82vw; }
  .showcase-swiper .swiper-slide img { height: clamp(200px, 52vw, 300px); }
}
.swiper-pagination-bullet { background: var(--text-faint); opacity: 0.6; }
.swiper-pagination-bullet-active { background: var(--gold); opacity: 1; width: 22px; border-radius: 5px; transition: width 0.3s; }

/* ── GALLERY ── */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
  position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
  aspect-ratio: 1; border: 1px solid var(--surface-border);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, border-color 0.4s;
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(232, 182, 76, 0.4); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 9, 15, 0.85), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; justify-content: center; padding: 18px;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span {
  padding: 8px 20px; border-radius: 30px;
  background: var(--gold); color: var(--on-accent);
  font-size: 0.8rem; font-weight: 600;
  transform: translateY(16px); transition: transform 0.4s var(--ease-spring);
}
.gallery-item:hover .overlay span { transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(3, 5, 9, 0.96);
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.lightbox.active { display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 86vw; max-height: 84vh; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: max(16px, env(safe-area-inset-top)); right: 24px;
  color: var(--text); font-size: 2.2rem; background: none; border: none; cursor: pointer; z-index: 2001;
  transition: color 0.3s, transform 0.3s;
}
.lightbox-close:hover { color: var(--gold); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--surface-border);
  color: var(--text); font-size: 2rem; cursor: pointer; transition: var(--transition);
}
.lightbox-nav:hover { background: var(--gold); color: var(--on-accent); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.team-card { overflow: hidden; text-align: center; transition: transform 0.4s var(--ease-spring), border-color 0.4s, box-shadow 0.4s; }
.team-card:hover { transform: translateY(-8px); border-color: rgba(232, 182, 76, 0.35); box-shadow: var(--shadow); }
.team-avatar {
  height: 230px; display: grid; place-items: center; position: relative; overflow: hidden;
}
.team-avatar::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 60%);
}
.av-1 { background: linear-gradient(135deg, #16273f, #2a5a8c); }
.av-2 { background: linear-gradient(135deg, #2a5a8c, #3a7abc); }
.av-3 { background: linear-gradient(135deg, #b98a2e, #8a651f); }
.av-4 { background: linear-gradient(135deg, #0d1626, #1b2d44); }
.team-avatar .initials {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: #eef2f7;
  transition: transform 0.5s var(--ease-spring);
}
.team-card:hover .initials { transform: scale(1.14); }
.team-info { padding: 22px; }
.team-info h4 { font-size: 1.08rem; margin-bottom: 4px; }
.team-info .role { color: var(--gold); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }

/* ── TESTIMONIALS ── */
.testimonial-swiper { max-width: 780px; margin-inline: auto; padding-bottom: 56px; }
.testimonial-card { padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 48px); text-align: center; }
.testimonial-card .quote { font-family: var(--font-display); font-size: 3.4rem; line-height: 0.6; color: var(--gold); margin-bottom: 26px; }
.testimonial-card p { color: var(--text-dim); font-size: clamp(0.95rem, 1.5vw, 1.1rem); line-height: 1.9; font-style: italic; margin-bottom: 24px; }
.testimonial-card footer { color: var(--gold); font-weight: 600; font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 44px); }
.contact-info-card { padding: 30px; margin-bottom: 22px; transition: border-color 0.4s, box-shadow 0.4s; }
.contact-info-card:hover { border-color: rgba(232, 182, 76, 0.3); box-shadow: var(--shadow); }
.contact-info-card h4 { font-size: 1.1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.contact-info-card h4 .icon {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--gold-dim); border: 1px solid rgba(232, 182, 76, 0.35);
  color: var(--gold); font-size: 0.75rem;
}
.contact-info-card p { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 8px; }
.contact-info-card a { color: var(--gold-light); transition: color 0.3s; word-break: break-word; }
.contact-info-card a:hover { color: var(--gold); }
.maps-container { display: flex; flex-direction: column; gap: 22px; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--surface-border); box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 280px; border: none; display: block; filter: var(--map-filter); }

/* ── FOOTER ── */
.footer { background: var(--footer-bg); padding: 64px 0 24px; border-top: 1px solid var(--surface-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-about h3 { display: inline-flex; align-items: center; gap: 10px; font-size: 1.4rem; margin-bottom: 16px; }
.footer-about p { color: var(--text-faint); font-size: 0.88rem; line-height: 1.8; }
.footer h4 { font-size: 0.85rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 2px; color: var(--text); }
.footer-links a { display: block; color: var(--text-faint); font-size: 0.88rem; padding: 6px 0; transition: color 0.3s, padding-left 0.3s; }
.footer-links a:hover { color: var(--gold); padding-left: 8px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--surface-border); border-radius: 12px;
  color: var(--text-dim); transition: var(--transition);
}
.footer-social a svg { width: 20px; height: 20px; }
.footer-social a:hover { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); transform: translateY(-4px); }
.footer-bottom {
  border-top: 1px solid var(--surface-border); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.footer-bottom p { color: var(--text-faint); font-size: 0.78rem; }

/* ── FLOATING BUTTONS ── */
.float-whatsapp {
  position: fixed; bottom: calc(92px + env(safe-area-inset-bottom)); right: 26px;
  width: 56px; height: 56px; z-index: 999;
  display: grid; place-items: center;
  background: #25d366; color: #fff; border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  animation: floatY 3s ease-in-out infinite;
  transition: transform 0.3s var(--ease-spring);
}
.float-whatsapp::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: ping 2s ease-out infinite;
}
.float-whatsapp:hover { transform: scale(1.12) rotate(8deg); animation-play-state: paused; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.back-to-top {
  position: fixed; bottom: calc(28px + env(safe-area-inset-bottom)); right: 26px;
  width: 48px; height: 48px; z-index: 999;
  background: linear-gradient(135deg, var(--gold), #c08a2c); color: var(--on-accent);
  border: none; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--ease-spring), box-shadow 0.35s;
  box-shadow: var(--shadow-gold);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ── REVEAL (GSAP fallback base) ── */
[data-reveal] { opacity: 0; transform: translateY(44px); }
.no-gsap [data-reveal] { opacity: 1; transform: none; }
.reveal-hero { opacity: 0; }
.no-gsap .reveal-hero { opacity: 1; }

/* ── LIGHT-MODE COMPONENT TWEAKS ── */
html[data-theme="light"] .skill-icon,
html[data-theme="light"] .service-icon {
  background: linear-gradient(135deg, #e6edf7, #cfdcec);
  border-color: rgba(42, 90, 140, 0.25);
}
html[data-theme="light"] .service-icon svg { fill: #8a651f; }
html[data-theme="light"] .skill-icon { color: #8a651f; }
html[data-theme="light"] .navbar.scrolled { box-shadow: 0 4px 24px rgba(16, 24, 38, 0.1); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav-links, .btn-nav { display: none; }
  .theme-toggle { margin-left: auto; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 110px 0 90px; }
  .hero-stats { gap: 28px; }
  .about-chip { right: 12px; padding: 11px 20px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 1.5rem; }
  .hero-indicators { bottom: 22px; right: 50%; transform: translateX(50%); }
  .hero-scroll { display: none; }
  .contact-map iframe { height: 230px; }
}

@media (max-width: 480px) {
  .container { width: min(1200px, 100% - 2rem); }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-box { padding: 14px 6px; }
  .float-whatsapp { width: 50px; height: 50px; right: 18px; }
  .back-to-top { right: 18px; width: 44px; height: 44px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Hide custom cursor on touch */
@media (max-width: 1024px), (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .noise, .marquee-track, .hero-slide.active img { animation: none !important; }
  [data-reveal], .reveal-hero { opacity: 1 !important; transform: none !important; }
}
