/* ============================================================
   Incraft Technologies — Corporate Website Stylesheet
   ============================================================ */

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;
  --navy: #0b1b33;
  --navy-2: #122846;
  --navy-3: #1a3a63;
  --ink: #1c2533;
  --muted: #5d6b7e;
  --line: #e6ebf2;
  --bg-soft: #f6f8fb;
  --white: #ffffff;
  --body: #ffffff;
  --card: #ffffff;
  --heading: #0b1b33;
  --header-bg: rgba(255, 255, 255, .92);
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(11, 27, 51, .06);
  --shadow-md: 0 10px 30px rgba(11, 27, 51, .10);
  --shadow-lg: 0 24px 60px rgba(11, 27, 51, .16);
  --grad: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--body);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; color: var(--heading); }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 14px;
}
.section-label::before {
  content: ""; width: 28px; height: 2px; background: var(--primary); border-radius: 2px;
}
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 16px; letter-spacing: -.02em; }
.section-sub { color: var(--muted); max-width: 640px; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-label::before { display: none; }
.center .section-sub { margin-inline: auto; }

section { padding: 90px 0; }
.bg-soft { background: var(--bg-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 50px;
  font-weight: 700; font-size: .95rem; font-family: var(--font);
  cursor: pointer; border: none; transition: all .3s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(14, 165, 233, .35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(14, 165, 233, .45); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); transform: translateY(-3px); }
.btn .arrow { transition: transform .3s; }
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy); color: #c4d0e2; font-size: .82rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #c4d0e2; transition: color .2s; }
.topbar a:hover { color: var(--primary); }
.topbar .tb-left { display: flex; gap: 22px; }
.topbar .tb-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-social { display: flex; gap: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 6px 18px rgba(14, 165, 233, .35);
}
.brand-logo { height: 48px; width: auto; flex: none; }
.site-footer .brand-logo { height: 52px; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-size: 1.18rem; color: var(--heading); letter-spacing: -.01em; }
.brand-text small { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 10px 16px; font-weight: 600; font-size: .95rem;
  color: var(--ink); border-radius: 8px; transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--primary); background: rgba(14, 165, 233, .08); }
.main-nav a.active { color: var(--primary); }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .btn { padding: 11px 24px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--heading); border-radius: 3px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; color: #fff; padding: 120px 0 140px;
  background: radial-gradient(1100px 600px at 85% -10%, #1f4475 0%, transparent 60%),
              radial-gradient(800px 500px at -10% 110%, #16365c 0%, transparent 55%),
              var(--navy);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 95%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: 8px 18px; border-radius: 50px; font-size: .85rem; font-weight: 600;
  margin-bottom: 26px; color: #bae6fd;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(14,165,233,.25); }
.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800;
  letter-spacing: -.025em; margin-bottom: 22px;
}
.hero h1 .accent { color: var(--primary); position: relative; white-space: nowrap; }
.hero p.lead { color: #b9c7da; font-size: 1.12rem; max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-trust .item strong { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; }
.hero-trust .item span { font-size: .85rem; color: #8fa3bd; }

/* hero visual card stack */
.hero-visual { position: relative; min-height: 420px; }
.hv-card {
  position: absolute; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14); border-radius: 18px;
  backdrop-filter: blur(8px); padding: 24px; color: #dce6f3;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  animation: float 6s ease-in-out infinite;
}
.hv-card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.3rem; margin-bottom: 14px; background: var(--grad); color: #fff;
}
.hv-card h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.hv-card p { font-size: .82rem; color: #9fb2c9; }
.hv-1 { top: 0; left: 6%; width: 250px; animation-delay: 0s; }
.hv-2 { top: 36%; right: 0; width: 250px; animation-delay: 1.4s; }
.hv-3 { bottom: 0; left: 0; width: 250px; animation-delay: 2.8s; }
.hv-code {
  position: absolute; top: 22%; left: 38%; padding: 16px 20px; border-radius: 14px;
  background: #0d2240; border: 1px solid rgba(255,255,255,.12);
  font-family: 'Consolas', monospace; font-size: .78rem; color: #7fd1a8;
  box-shadow: 0 20px 50px rgba(0,0,0,.4); animation: float 7s ease-in-out infinite; animation-delay: .8s;
}
.hv-code .ln { display: block; }
.hv-code .c1 { color: #6ea8e8; } .hv-code .c2 { color: #38bdf8; }

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

/* hero wave divider */
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; padding: 90px 0;
  background: radial-gradient(900px 500px at 80% -20%, #1f4475 0%, transparent 60%), var(--navy);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 14px; letter-spacing: -.02em; }
.page-hero p { color: #b9c7da; max-width: 620px; font-size: 1.08rem; }
.breadcrumb { display: flex; gap: 10px; font-size: .85rem; color: #8fa3bd; margin-bottom: 18px; }
.breadcrumb a { color: var(--primary); font-weight: 600; }

/* ---------- Logo strip ---------- */
.logo-strip { padding: 36px 0; border-bottom: 1px solid var(--line); }
.logo-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.logo-strip span { font-weight: 700; color: var(--muted); font-size: .88rem; letter-spacing: .04em; }
.logo-strip .tech { display: flex; gap: 30px; flex-wrap: wrap; color: var(--muted); font-weight: 700; font-size: 1rem; opacity: .75; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.card:hover::after { transform: scaleX(1); }
.card .icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 22px;
  background: rgba(14, 165, 233, .12); color: var(--primary);
  transition: all .35s;
}
.card:hover .icon { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(14,165,233,.35); }
.card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .95rem; }
.card .link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: .9rem; color: var(--primary); }
.card .link svg { transition: transform .3s; }
.card .link:hover svg { transform: translateX(4px); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 50% -40%, rgba(14,165,233,.18), transparent 70%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.stat { text-align: center; }
.stat .num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.stat .num span { color: var(--primary); }
.stat .lbl { color: #b9c7da; font-weight: 600; margin-top: 6px; font-size: .95rem; }

/* ---------- Split / about section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split .visual { position: relative; }
.visual-frame {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, var(--navy-2), var(--navy-3));
  aspect-ratio: 4/3.4; display: grid; place-items: center; position: relative;
}
.visual-frame::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 26px 26px;
}
.visual-frame .big-icon { font-size: 7rem; position: relative; filter: drop-shadow(0 16px 30px rgba(0,0,0,.35)); }
.visual-badge {
  position: absolute; bottom: -26px; right: -16px; background: var(--card); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 20px 26px; display: flex; align-items: center; gap: 16px;
}
.visual-badge .vb-num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.visual-badge .vb-txt { font-size: .85rem; font-weight: 600; color: var(--muted); line-height: 1.35; }

.checklist { margin: 26px 0 34px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checklist .chk {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(14,165,233,.14);
  color: var(--primary); display: grid; place-items: center; font-size: .8rem; font-weight: 800; margin-top: 2px;
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: all .35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step .n {
  width: 50px; height: 50px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(14,165,233,.35);
}
.step h4 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .9rem; }

/* ---------- Testimonials ---------- */
.testi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: all .35s; }
.testi:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.testi .stars { color: var(--primary); letter-spacing: 3px; margin-bottom: 16px; }
.testi p { color: var(--muted); font-style: italic; margin-bottom: 22px; }
.testi .who { display: flex; align-items: center; gap: 14px; }
.testi .avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--grad);
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.testi .who strong { display: block; font-size: .95rem; color: var(--heading); }
.testi .who span { font-size: .82rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 90px; }
.cta-inner {
  position: relative; border-radius: 24px; overflow: hidden; color: #fff;
  background: radial-gradient(800px 400px at 90% -30%, #2a5285 0%, transparent 60%), var(--navy);
  padding: 70px 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-inner::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  border-radius: 50%; background: rgba(14,165,233,.18); filter: blur(10px);
}
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.cta-inner p { color: #b9c7da; max-width: 520px; }

/* ---------- Services page ---------- */
.service-detail { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; }
.service-detail .sd-icon {
  width: 78px; height: 78px; border-radius: 20px; background: rgba(14,165,233,.12);
  color: var(--primary); display: grid; place-items: center; font-size: 2rem; flex: none;
}
.service-detail h3 { font-size: 1.45rem; margin-bottom: 12px; }
.service-detail p { color: var(--muted); max-width: 760px; }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tag {
  font-size: .8rem; font-weight: 700; padding: 7px 16px; border-radius: 50px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted);
}

/* ---------- Portfolio ---------- */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 50px; }
.filter-btn {
  padding: 10px 24px; border-radius: 50px; border: 1px solid var(--line); background: var(--card);
  font-family: var(--font); font-weight: 700; font-size: .88rem; color: var(--muted); cursor: pointer; transition: all .25s;
}
.filter-btn:hover, .filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(14,165,233,.3); }

.work-card {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card);
  transition: all .35s;
}
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.work-thumb {
  aspect-ratio: 16/10; display: grid; place-items: center; font-size: 3.4rem; color: #fff; position: relative; overflow: hidden;
}
.work-thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px;
}
.wt-1 { background: linear-gradient(135deg, #1a3a63, #2a5285); }
.wt-2 { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.wt-3 { background: linear-gradient(135deg, #0e7490, #06b6d4); }
.wt-4 { background: linear-gradient(135deg, #be123c, #f43f5e); }
.wt-5 { background: linear-gradient(135deg, #15803d, #4ade80); }
.wt-6 { background: linear-gradient(135deg, #b45309, #f59e0b); }
.work-body { padding: 24px; }
.work-body .cat { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.work-body h3 { font-size: 1.15rem; margin: 8px 0 10px; }
.work-body p { color: var(--muted); font-size: .9rem; }

/* ---------- Careers ---------- */
.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px;
  transition: all .3s; margin-bottom: 18px;
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.job-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.job-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .87rem; font-weight: 600; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }

.perk { text-align: center; padding: 30px 22px; }
.perk .icon { margin-inline: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.info-card {
  display: flex; gap: 20px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; margin-bottom: 18px; transition: all .3s;
}
.info-card:hover { box-shadow: var(--shadow-md); }
.info-card .icon {
  flex: none; width: 54px; height: 54px; border-radius: 14px; background: rgba(14,165,233,.12);
  color: var(--primary); display: grid; place-items: center; font-size: 1.4rem;
}
.info-card h4 { margin-bottom: 6px; font-size: 1.05rem; }
.info-card p { color: var(--muted); font-size: .93rem; }
.info-card a { color: var(--primary); font-weight: 600; }

.contact-form {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 44px; box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-form > p { color: var(--muted); margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: .87rem; margin-bottom: 8px; color: var(--heading); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: .95rem; color: var(--ink); background: var(--bg-soft);
  transition: border-color .25s, box-shadow .25s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(14,165,233,.12); background: var(--card);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-status { margin-top: 16px; font-weight: 600; font-size: .92rem; display: none; padding: 12px 16px; border-radius: 10px; }
.form-status.ok { display: block; background: #e8f7ee; color: #15803d; }
.form-status.err { display: block; background: #fdecec; color: #be123c; }

.map-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Values / mission ---------- */
.value-card { text-align: left; }
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 5px rgba(14,165,233,.18);
}
.tl-item .year { font-weight: 800; color: var(--primary); font-size: .95rem; letter-spacing: .06em; }
.tl-item h4 { margin: 6px 0 8px; font-size: 1.1rem; }
.tl-item p { color: var(--muted); font-size: .94rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aebdd2; }
.footer-top { padding: 80px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; }
.site-footer h5 { color: #fff; font-size: 1.02rem; margin-bottom: 22px; }
.site-footer .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.site-footer .f-brand .brand-text strong { color: #fff; }
.site-footer .f-brand .brand-text small { color: #8fa3bd; }
.site-footer p { font-size: .92rem; }
.f-links li { margin-bottom: 12px; }
.f-links a { color: #aebdd2; font-size: .93rem; transition: color .2s, padding-left .2s; }
.f-links a:hover { color: var(--primary); padding-left: 6px; }
.f-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: .92rem; }
.f-contact .ic { color: var(--primary); flex: none; margin-top: 3px; }
.f-social { display: flex; gap: 12px; margin-top: 24px; }
.f-social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #c4d0e2; transition: all .3s; font-size: .95rem;
}
.f-social a:hover { background: var(--grad); color: #fff; transform: translateY(-4px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom a { color: var(--primary); }

/* ---------- Scroll-to-top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); color: #fff; border: 0; cursor: pointer; font-size: 1.1rem;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(14,165,233,.4);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .35s; z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar .tb-social { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .main-nav {
    position: fixed; top: 0; right: -300px; width: 280px; height: 100vh; background: var(--card);
    box-shadow: -16px 0 40px rgba(11,27,51,.18); transition: right .35s ease; z-index: 1100;
    padding: 90px 28px 28px;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 13px 16px; font-size: 1.02rem; }
  .nav-overlay {
    position: fixed; inset: 0; background: rgba(11,27,51,.5); z-index: 1050;
    opacity: 0; visibility: hidden; transition: all .3s;
  }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  .cta-inner { padding: 50px 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 24px; }
  .service-detail { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 480px) {
  .grid-4, .stats-grid, .steps { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 110px; }
  .hero-trust { gap: 24px; }
}

/* ============================================================
   2026 Enhancements — dark mode, bento, kinetic, spotlight,
   marquee, aurora, scroll progress, WhatsApp, reduced motion
   ============================================================ */

/* ---------- Dark mode ---------- */
html[data-theme="dark"] {
  --body: #0a1424;
  --card: #11203a;
  --heading: #eef4fb;
  --ink: #dbe6f3;
  --muted: #93a7c2;
  --line: #1d3254;
  --bg-soft: #0d1a30;
  --header-bg: rgba(10, 20, 36, .9);
}
html[data-theme="dark"] .btn-dark { background: var(--grad); }
html[data-theme="dark"] .form-status.ok { background: rgba(34, 197, 94, .12); color: #4ade80; }
html[data-theme="dark"] .form-status.err { background: rgba(244, 63, 94, .12); color: #fb7185; }
.hero-wave svg path { fill: var(--body); }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  border: 1px solid var(--line); background: var(--card); color: var(--heading);
  cursor: pointer; display: grid; place-items: center; font-size: .95rem;
  transition: all .3s;
}
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); transform: rotate(20deg); }

/* ---------- Kinetic hero word ---------- */
.kinetic { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.kinetic.out { opacity: 0; transform: translateY(16px); }

/* ---------- Aurora hero background ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; width: 440px; height: 440px; border-radius: 50%; filter: blur(95px); opacity: .32; }
.aurora span:nth-child(1) { background: #0ea5e9; top: -140px; left: -90px; animation: drift1 16s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { background: #1d4ed8; bottom: -170px; right: 8%; animation: drift2 20s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { background: #38bdf8; top: 28%; left: 44%; width: 300px; height: 300px; opacity: .16; animation: drift3 18s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(130px, 70px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-110px, -60px) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-90px, 100px); } }

/* ---------- Bento services grid ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.bento .b-lg {
  grid-column: span 2; grid-row: span 2;
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(620px 320px at 90% -20%, #1f4475 0%, transparent 60%), var(--navy);
  border: 0;
}
.bento .b-lg h3 { color: #fff; font-size: 1.7rem; }
.bento .b-lg p { color: #b9c7da; font-size: 1.02rem; max-width: 440px; }
.bento .b-lg .icon { background: var(--grad); color: #fff; width: 68px; height: 68px; font-size: 1.8rem; }
.bento .b-lg .link { color: var(--primary-light); }
.bento .b-lg { flex-direction: row; align-items: center; gap: 36px; }
.b-lg-text { flex: 1; min-width: 0; }
.b-lg-art { flex: none; width: 40%; max-width: 300px; }
.b-lg-art svg { width: 100%; height: auto; display: block; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .35)); }

/* ---------- Spotlight (cursor-tracking glow) on cards ---------- */
.testi, .work-card, .job-card, .info-card { position: relative; }
.card::before, .step::before, .testi::before, .work-card::before, .job-card::before, .info-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .4s; z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(14, 165, 233, .13), transparent 65%);
}
.card:hover::before, .step:hover::before, .testi:hover::before,
.work-card:hover::before, .job-card:hover::before, .info-card:hover::before { opacity: 1; }

/* ---------- Logo marquee ---------- */
.marquee {
  overflow: hidden; flex: 1; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex; align-items: center; gap: 48px; padding-right: 48px;
  color: var(--muted); font-weight: 700; font-size: 1rem; white-space: nowrap;
}
.marquee-group span { display: inline-flex; align-items: center; gap: 9px; opacity: .75; transition: opacity .25s, color .25s; }
.marquee-group span:hover { opacity: 1; color: var(--primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 2000; pointer-events: none;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; left: 26px; bottom: 26px; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.65rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45); z-index: 900; transition: transform .3s;
}
.wa-float:hover { transform: translateY(-4px) scale(1.06); color: #fff; }

/* ---------- Responsive for new components ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .b-lg { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 768px) {
  .bento { grid-template-columns: 1fr; }
  .bento .b-lg { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 28px; }
  .b-lg-art { width: 85%; max-width: 320px; align-self: center; }
  .wa-float { left: 18px; bottom: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Orbital scene ("Why Incraft" visual) ---------- */
.orbit-scene { position: relative; }
.pulse-ring {
  position: absolute; top: 50%; left: 50%; width: 120px; height: 120px;
  margin: -60px 0 0 -60px; border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, .5);
  animation: pulseRing 3.2s ease-out infinite;
}
.pulse-ring.pr2 { animation-delay: 1.6s; }
@keyframes pulseRing {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.8); opacity: 0; }
}
.orbit-center {
  position: relative; z-index: 2; width: 110px; height: 110px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(255, 255, 255, .18);
  display: grid; place-items: center;
  box-shadow: 0 0 60px rgba(14, 165, 233, .4), inset 0 0 24px rgba(56, 189, 248, .12);
}
.orbit-center img { width: 66px; height: auto; }
.orbit {
  position: absolute; top: 50%; left: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .15); border-radius: 50%;
}
.orbit .orbit-dot {
  position: absolute; top: -22px; left: 50%; margin-left: -22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font-size: 1.05rem; box-shadow: 0 8px 22px rgba(14, 165, 233, .5);
}
.orbit .orbit-dot.od2 { top: auto; bottom: -22px; }
.o1 { width: 190px; height: 190px; margin: -95px 0 0 -95px; animation: orbitSpin 14s linear infinite; }
.o2 { width: 285px; height: 285px; margin: -142.5px 0 0 -142.5px; animation: orbitSpin 24s linear infinite reverse; }
.o3 { width: 380px; height: 380px; margin: -190px 0 0 -190px; animation: orbitSpin 34s linear infinite; }
.o1 .orbit-dot { animation: orbitSpinRev 14s linear infinite; }
.o2 .orbit-dot { animation: orbitSpinRev 24s linear infinite reverse; }
.o3 .orbit-dot { animation: orbitSpinRev 34s linear infinite; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitSpinRev { to { transform: rotate(-360deg); } }

@media (max-width: 480px) {
  .o3 { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  .o2 { width: 225px; height: 225px; margin: -112.5px 0 0 -112.5px; }
  .o1 { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
  .orbit-center { width: 90px; height: 90px; }
  .orbit-center img { width: 52px; }
}
