/* ==========================================================
   Teqnify — redesign
   ========================================================== */
:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --card: #151517;
  --card-2: #1b1b1e;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f2f2f0;
  --muted: #8e8e93;
  --dim: #5b5b60;
  --accent: #4fd17f;        /* brand green, brightened from logo #41B66B */
  --accent-deep: #41b66b;
  --accent-ink: #06200f;
  --blue: #3b6cf6;
  --radius: 22px;
  --wrap: 1120px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; letter-spacing: -0.02em; }
section { padding: 0 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font: 500 14px/1 var(--font-body); cursor: pointer; border: 0;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(79, 209, 127, 0), 0 8px 30px -8px rgba(79, 209, 127, .55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(79, 209, 127, .15), 0 10px 40px -8px rgba(79, 209, 127, .7); }
.btn-ghost { background: rgba(255,255,255,.03); border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- eyebrow / spark ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .04em; color: var(--accent);
}
.spark {
  width: 15px; height: 15px; border-radius: 50%; flex: none;
  background:
    conic-gradient(from 45deg, transparent 0 25%, var(--accent-ink) 0 27%, transparent 0 50%, var(--accent-ink) 0 52%, transparent 0 75%, var(--accent-ink) 0 77%, transparent 0 100%) ,
    var(--accent);
  position: relative;
}
.spark::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%;
  border: 1.5px solid var(--accent-ink);
}

/* ---------- tags ---------- */
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 8px;
  font: 500 12px/1.4 var(--font-body);
}
.tag-green { background: var(--accent); color: var(--accent-ink); }
.tag-blue  { background: #1f3a8a; color: #b9cbff; }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  transition: background .3s, padding .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(11, 11, 12, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.nav-logo img { height: 30px; width: auto; }
.nav-pill {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255,255,255,.02);
}
.nav-pill a {
  font-size: 13.5px; color: var(--muted); padding: 8px 16px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-pill a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { height: 40px; font-size: 13.5px; }
.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; max-width: 1240px; margin: 0 auto;
  padding-top: 150px; padding-bottom: 60px;
}
.hero-glow {
  position: absolute; left: 50%; top: 40px; width: 900px; height: 520px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(79, 209, 127, .10), transparent 70%);
}
.hero-copy { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; text-align: center; }
.hero-title {
  font-size: clamp(38px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 10%, #9a9a9e 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 6px;
}
.hero-sub { margin: 26px auto 0; max-width: 470px; font-size: 15px; color: var(--muted); }
.hero-form {
  margin: 30px auto 0; max-width: 410px; display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 22px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  box-shadow: 0 20px 60px -25px rgba(79, 209, 127, .35);
}
.hero-form input {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0;
  color: var(--text); font: 14px var(--font-body);
}
.hero-form input::placeholder { color: var(--dim); }
.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--dim); }

/* floating phones */
.float { position: absolute; z-index: 1; }
.float .device {
  width: 150px; aspect-ratio: 583 / 1024; border-radius: 26px; overflow: hidden;
  border: 4px solid #2a2a2e; background: #000;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06);
}
.float .device img { width: 100%; height: 100%; object-fit: cover; }
.float-cap { display: block; margin-top: 10px; font-size: 11px; color: var(--dim); }
.float-phone-l { left: 2%; top: 330px; transform: rotate(-6deg); animation: bob 7s ease-in-out infinite; }
.float-phone-r { right: 2%; top: 300px; transform: rotate(6deg); animation: bob 8s ease-in-out -2s infinite; text-align: right; }
.float-phone-r .device { width: 140px; }

.cursor { position: absolute; z-index: 3; display: flex; align-items: flex-start; gap: 2px; animation: drift 6s ease-in-out infinite; }
.cursor svg { width: 16px; height: 16px; fill: none; stroke: #ddd; stroke-width: 1.3; stroke-linejoin: round; }
.cursor-l { left: 15%; top: 470px; flex-direction: row-reverse; }
.cursor-l svg { transform: scaleX(-1); }
.cursor-l .tag { margin-top: 12px; }
.cursor-r { right: 15%; top: 420px; animation-delay: -3s; }
.cursor-r .tag { margin-top: 12px; }

@keyframes bob { 50% { translate: 0 -12px; } }
@keyframes drift { 50% { translate: 8px -6px; } }

/* hero mock row */
.hero-row {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px;
  max-width: 900px; margin: 70px auto 0; align-items: start;
}
.mock {
  position: relative; border-radius: 14px; padding: 14px;
  background: linear-gradient(160deg, #1a1a1d, #0f0f11);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9);
  font-size: 10px; color: var(--muted);
}
.mock-label { position: absolute; top: -20px; left: 2px; font-size: 11px; color: var(--dim); }

.mock-dash { display: flex; gap: 10px; height: 170px; transform: translateY(-8px); }
.mock-side { width: 58px; display: flex; flex-direction: column; gap: 9px; padding-right: 10px; border-right: 1px solid var(--line); }
.mock-side .dot { width: 14px; height: 14px; border-radius: 4px; background: #2b2b30; margin-bottom: 6px; }
.mock-side span { height: 6px; border-radius: 3px; background: #26262a; }
.mock-side span.on { background: #3a3a40; }
.mock-main { flex: 1; position: relative; }
.mock-h { color: #cfcfd2; font-size: 11px; margin-bottom: 12px; }
.mock-ring { position: absolute; right: 0; top: 18px; width: 54px; height: 54px; display: grid; place-items: center; }
.mock-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.mock-ring circle { fill: none; stroke: #26262a; stroke-width: 4; }
.mock-ring .arc { stroke: url(#none); stroke: var(--accent); stroke-dasharray: 76 88; stroke-linecap: round; }
.mock-ring b { color: #ddd; font-size: 11px; font-weight: 500; }
.mock-lines { display: grid; gap: 8px; width: 55%; margin-top: 16px; }
.mock-lines span { height: 6px; border-radius: 3px; background: #26262a; }
.mock-lines span:nth-child(2) { width: 70%; }
.mock-chips { display: flex; gap: 6px; margin-top: 40px; }
.mock-chips i { width: 30px; height: 14px; border-radius: 4px; background: #222226; }
.mock-chips i:first-child { background: rgba(79,209,127,.25); }

.mock-rev { padding: 16px; transform: translateY(32px); }
.rev-top { display: flex; justify-content: space-between; align-items: flex-start; }
.rev-top small { display: block; color: var(--dim); font-size: 9px; }
.rev-top strong { font: 500 19px var(--font-head); color: #fff; }
.rev-top em { font-style: normal; color: var(--accent); font-size: 10px; }
.rev-chart { width: 100%; height: 60px; margin-top: 10px; }
.rev-foot { display: flex; justify-content: space-between; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.rev-foot b { color: #ddd; font-weight: 500; }

.mock-cloud {
  text-align: center; padding: 18px 16px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(79,209,127,.14), transparent 60%), linear-gradient(160deg, #141a16, #0d0f0e);
}
.dial svg { width: 100%; height: 72px; }
.dial-track { fill: none; stroke: rgba(79,209,127,.18); stroke-width: 10; stroke-dasharray: 2 5; }
.dial-fill { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 251; stroke-dashoffset: 251; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--accent)); animation: dial 3s .6s ease-out forwards; }
@keyframes dial { to { stroke-dashoffset: 70; } }
.mock-cloud strong { display: block; margin-top: 4px; font: 500 15px var(--font-head); color: #eee; }
.mock-cloud small { display: block; font-size: 9px; color: var(--dim); margin-top: 2px; }
.mini-btn { display: inline-block; margin-top: 10px; padding: 4px 14px; border-radius: 999px; background: #2a2a2e; color: #bbb; font-size: 9px; }

/* ==========================================================
   STRIP / MARQUEE
   ========================================================== */
.strip { max-width: var(--wrap); margin: 70px auto 0; text-align: center; }
.strip-label { font-size: 14px; color: var(--muted); }
.marquee {
  margin-top: 28px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span {
  font: 600 24px var(--font-head); color: #3e3e43; letter-spacing: -0.02em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   WHY
   ========================================================== */
.why { max-width: 820px; margin: 150px auto 0; text-align: center; }
.why-text {
  margin-top: 18px;
  font: 400 clamp(24px, 3.2vw, 34px)/1.3 var(--font-head); letter-spacing: -0.02em;
}
.why-text .w { color: #3b3b40; transition: color .35s; }
.why-text .w.lit { color: var(--text); }

/* ==========================================================
   SERVICES
   ========================================================== */
.services, .portfolio { max-width: var(--wrap); margin: 150px auto 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { margin-top: 14px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #171719, #131315);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .3s, transform .3s;
}
.card:hover { border-color: rgba(79, 209, 127, .25); }
.card h3 { font-size: 19px; margin-top: 4px; }
.card p { margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 300px; }
.c-third { grid-column: span 2; }
.c-half  { grid-column: span 3; }
.c-full  { grid-column: span 6; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 160px; }
.card-copy { flex: 1; min-width: 0; }
.vis { position: relative; height: 180px; margin-bottom: 24px; }

/* bars */
.bars-panel {
  width: 86%; height: 100%; padding: 16px 16px 10px; border-radius: 14px;
  background: #0f0f11; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.bars-title { font: 500 13px var(--font-head); color: var(--accent); }
.bars { flex: 1; display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.bars i {
  width: 6px; height: var(--h); max-height: 70%; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), #2f8f55);
  transform-origin: center; transform: scaleY(.15); transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.card.in .bars i { transform: scaleY(1); }
.bars i:nth-child(odd) { transition-delay: .1s; }
.bars i:nth-child(3n) { transition-delay: .2s; }
.bars b { width: 1px; align-self: stretch; background: var(--line-2); margin: 0 4px; }
.bars-x { display: flex; justify-content: space-between; font-size: 9px; color: var(--dim); }

/* notif */
.vis-notif { display: flex; flex-direction: column; align-items: center; padding-top: 18px; }
.notif { border-radius: 16px; border: 1px solid var(--line-2); }
.notif-back {
  width: 70%; height: 30px; background: #1d1d20; font-size: 8px; letter-spacing: .1em; color: var(--dim);
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: -10px;
}
.pill-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--dim); }
.notif-front {
  position: relative; width: 88%; padding: 12px; display: flex; gap: 12px; align-items: center;
  background: linear-gradient(180deg, #232327, #1a1a1d);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.8);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.card:hover .notif-front { transform: translateY(-4px); }
.notif-icon { width: 48px; height: 48px; flex: none; border-radius: 12px; background: #0b0b0c; display: grid; place-items: center; }
.notif-icon svg { width: 20px; fill: var(--accent); }
.notif-front small { display: flex; align-items: center; gap: 5px; font-size: 8px; letter-spacing: .1em; color: var(--accent); }
.notif-front small i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.notif-front strong { display: block; font: 500 14px var(--font-body); }
.notif-front span { font-size: 10px; color: var(--dim); }
.dash-line { width: 88%; margin-top: 26px; border-top: 1px dashed var(--line-2); }

/* curve */
.vis-curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.curve-grid { position: absolute; inset: auto 0 22px 0; display: flex; justify-content: space-between; font-size: 10px; color: #2e2e33; }
.curve-ghost { fill: none; stroke: #2a2a2e; stroke-width: 1.5; }
.curve {
  fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(79, 209, 127, .6));
  stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.4s ease-out;
}
.card.in .curve { stroke-dashoffset: 0; }
.curve-dot {
  position: absolute; left: calc(170 / 240 * 100%); top: calc(60 / 150 * 100%);
  width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 8px rgba(79,209,127,.18), 0 0 24px var(--accent);
  opacity: 0; transition: opacity .4s 1.2s;
}
.card.in .curve-dot { opacity: 1; }

/* icon cluster */
.vis-icons { height: auto; margin: 0; display: grid; grid-template-columns: repeat(3, 56px); gap: 12px; }
.vis-icons .ic:nth-child(n+4) { transform: translateX(28px); }
.ic {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #1f1f22; border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.ic svg { width: 22px; fill: none; stroke: #cfcfd2; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic-accent { background: rgba(79,209,127,.12); border-color: rgba(79,209,127,.3); }
.ic-accent svg { stroke: var(--accent); }

/* shop */
.vis-shop { height: 110px; width: 210px; margin: 0; flex: none; }
.shop-ring {
  position: absolute; top: 10px; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: #1f1f22;
  border: 3px solid; box-shadow: 0 10px 30px -10px rgba(0,0,0,.8);
}
.shop-ring svg { width: 24px; fill: none; stroke: #e5e5e5; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.shop-ring.r1 { left: 0;   border-color: #7c5cff; }
.shop-ring.r2 { left: 46px; border-color: #29b6f6; z-index: 1; }
.shop-ring.r3 { left: 92px; border-color: var(--accent); z-index: 2; }
.shop-tag { position: absolute; left: 110px; top: 72px; z-index: 3; white-space: nowrap; }

/* orbit */
.vis-orbit { width: 300px; height: 150px; margin: -10px 0; flex: none; }
.orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid var(--line-2); translate: -50% -50%; }
.o1 { width: 90px; height: 90px; }
.o2 { width: 160px; height: 160px; border-style: dashed; border-color: rgba(255,255,255,.08); animation: spin 40s linear infinite; }
.o3 { width: 240px; height: 240px; border-color: rgba(255,255,255,.05); }
.orbit-core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); box-shadow: 0 0 40px rgba(79,209,127,.5);
}
.orbit-core svg { width: 26px; fill: var(--accent-ink); }
.sat { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #2b2b30; border: 1px solid var(--line-2); }
.s1 { left: 22%; top: 20%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.s2 { right: 18%; top: 62%; }
.s3 { left: 64%; top: 4%; background: #29b6f6; }
@keyframes spin { to { rotate: 360deg; } }

/* chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 780px; margin: 30px auto 0; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px; font-size: 13.5px; color: #c8c8cc;
  background: #151517; border: 1px solid var(--line);
}

/* ==========================================================
   PORTFOLIO
   ========================================================== */
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px auto 36px; }
.cats button {
  padding: 9px 16px; border-radius: 999px; font: 500 13.5px var(--font-body); color: var(--muted);
  background: none; border: 1px solid var(--line-2); cursor: pointer; transition: color .2s, background .2s, border-color .2s;
}
.cats button:hover { color: var(--text); border-color: rgba(255,255,255,.25); }
.cats button.on { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.cats sup { font-size: 10px; opacity: .6; margin-left: 2px; vertical-align: super; }

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); transition: border-color .3s, opacity .4s, transform .4s;
  animation: workIn .5s cubic-bezier(.2,.8,.2,1) both;
}
.work[hidden] { display: none; }
.work:hover { border-color: rgba(79,209,127,.28); }
@keyframes workIn { from { opacity: 0; transform: translateY(14px); } }

.work-shot {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  padding: 18px 18px 0; background: radial-gradient(90% 80% at 50% 0%, #1f2a23, #121214);
}
.browser {
  display: flex; gap: 5px; align-items: center; height: 22px; padding: 0 10px;
  background: #222226; border-radius: 10px 10px 0 0; border: 1px solid var(--line); border-bottom: 0;
}
.browser i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a40; }
.browser i:first-child { background: #ff5f57; } .browser i:nth-child(2) { background: #febc2e; } .browser i:nth-child(3) { background: #28c840; }
.work-shot img {
  width: 100%; height: calc(100% - 22px); object-fit: cover; object-position: top;
  transition: transform 1.6s cubic-bezier(.2,.8,.2,1), object-position 3s ease;
}
.work:hover .work-shot img { object-position: bottom; }

.work-phone { display: flex; justify-content: center; padding: 22px 0 0; background: radial-gradient(80% 70% at 50% 0%, #2a2a46, #121218); }
.work-phone-green { background: radial-gradient(80% 70% at 50% 0%, #11392a, #0c1210); }
.work-phone img { width: 46%; height: auto; border-radius: 18px 18px 0 0; object-fit: initial; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }
.work:hover .work-phone img { transform: translateY(-8px); }

.work-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-top: 1px solid var(--line); }
.work-meta h3 { font-size: 16px; }
.work-meta span { font-size: 12.5px; color: var(--muted); }
.work-tag { flex: none; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11px !important; }
.arrow { color: var(--accent) !important; font-size: 14px !important; }

.work-next, .work-empty {
  justify-content: flex-end; padding: 28px; min-height: 280px;
  background: radial-gradient(90% 60% at 100% 0%, rgba(79,209,127,.16), transparent 70%), var(--card);
}
.work-next h3, .work-empty h3 { font-size: 26px; margin-top: 12px; }
.work-next p, .work-empty p { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
.work-next .btn, .work-empty .btn { align-self: flex-start; }
.work-empty { grid-column: span 2; }
.center { text-align: center; margin-top: 34px; }
.center[hidden] { display: none; }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact { max-width: var(--wrap); margin: 150px auto 0; }
.contact-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px;
  padding: 52px; border-radius: 28px;
  background: linear-gradient(180deg, #161618, #111113);
  border: 1px solid var(--line);
}
.contact-glow {
  position: absolute; left: -10%; bottom: -60%; width: 70%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(79,209,127,.14), transparent);
}
.contact-copy { position: relative; }
.contact-copy h2 { margin-top: 14px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.contact-copy > p { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 440px; }
.contact-list { display: grid; grid-template-columns: auto auto; gap: 28px; margin: 32px 0; justify-content: start; }
.contact-list small { display: block; font-size: 12px; color: var(--dim); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { display: block; font-size: 14.5px; line-height: 1.8; transition: color .2s; }
.contact-list a:hover { color: var(--accent); }
.btn-wa { background: #1c2a21; color: var(--accent); border: 1px solid rgba(79,209,127,.3); }
.btn-wa:hover { background: #21362a; }

.contact-form { position: relative; display: grid; gap: 16px; align-content: start; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: #0d0d0f; border: 1px solid var(--line-2); color: var(--text);
  font: 14px var(--font-body); outline: none; transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.contact-form select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: rgba(79,209,127,.5); box-shadow: 0 0 0 4px rgba(79,209,127,.1);
}
.contact-form .btn { justify-self: start; margin-top: 4px; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  max-width: var(--wrap); margin: 120px auto 0; padding: 32px 20px 40px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  border-top: 1px solid var(--line);
}
.footer-logo { height: 26px; width: auto; }
.footer-links { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; justify-self: end; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); transition: border-color .2s, background .2s;
}
.socials a:hover { border-color: var(--accent); background: rgba(79,209,127,.08); }
.socials svg { width: 16px; fill: #ccc; }
.socials svg.stroke { fill: none; stroke: #ccc; stroke-width: 1.8; }
.copy { grid-column: 1 / -1; text-align: center; font-size: 12.5px; color: var(--dim); }

/* ==========================================================
   REVEAL
   ========================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.hero-copy .reveal:nth-child(2) { transition-delay: .1s; }
.hero-copy .reveal:nth-child(3) { transition-delay: .2s; }
.hero-copy .reveal:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .bars i { transform: none; }
  .curve { stroke-dashoffset: 0; }
  .curve-dot { opacity: 1; }
  .dial-fill { stroke-dashoffset: 70; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .float-phone-l, .float-phone-r { display: none; }
  .cursor-l { left: 6%; } .cursor-r { right: 6%; }
}

@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav-pill, .nav-cta { display: none; }
  .nav-toggle {
    display: grid; gap: 6px; width: 40px; height: 40px; place-content: center;
    background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer;
  }
  .nav-toggle span { width: 16px; height: 1.5px; background: var(--text); transition: transform .3s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; z-index: 49; inset: 72px 16px auto 16px;
    display: grid; gap: 4px; padding: 10px; border-radius: 18px;
    background: rgba(20,20,22,.96); border: 1px solid var(--line-2);
    backdrop-filter: blur(14px);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: 12px 14px; border-radius: 10px; color: #ddd; }
  .mobile-menu a:hover { background: rgba(255,255,255,.05); }

  .cursor { display: none; }
  .hero { padding-top: 120px; }
  .hero-row { grid-template-columns: 1fr 1fr; gap: 40px 18px; max-width: 560px; }
  .mock-dash { display: none; }
  .mock-rev, .mock-dash { transform: none; }

  .bento { grid-template-columns: 1fr 1fr; }
  .c-third { grid-column: span 1; }
  .c-third:last-of-type { grid-column: span 2; }
  .c-half, .c-full { grid-column: span 2; }

  .works { grid-template-columns: 1fr 1fr; }

  .contact-card { grid-template-columns: 1fr; padding: 36px 28px; }
  .why, .services, .portfolio, .contact { margin-top: 110px; }
}

@media (max-width: 620px) {
  section { padding: 0 16px; }
  .hero-form { padding-left: 18px; }
  .hero-form .btn { padding: 0 16px; }
  .hero-row { grid-template-columns: 1fr; max-width: 340px; gap: 36px; }
  .bento { grid-template-columns: 1fr; }
  .c-third, .c-third:last-of-type, .c-half, .c-full { grid-column: span 1; }
  .card-row { flex-direction: column; align-items: flex-start; }
  .vis-orbit { width: 100%; }
  .works { grid-template-columns: 1fr; }
  .work-empty { grid-column: span 1; }
  .contact-card { padding: 28px 20px; }
  .contact-list { grid-template-columns: 1fr; gap: 18px; }
  .footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .socials { justify-self: center; }
  .marquee-track span { font-size: 20px; }
}
