/* =========================================================
   Klobyte Labs — modern software company landing page
   Primary palette: deep blue #00167A + orange #FF751F
   ========================================================= */

:root {
  --blue: #00167a;
  --blue-deep: #00105c;
  --blue-light: #eaf0ff;
  --blue-pale: #f4f7ff;
  --orange: #ff751f;
  --orange-light: #ff9a52;
  --orange-pale: #fff4ec;
  --ink: #0b1a4a;
  --ink-soft: #1e2a5a;
  --body: #475569;
  --muted: #94a3b8;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(0, 22, 122, 0.06);
  --shadow-md: 0 18px 48px rgba(0, 22, 122, 0.10);
  --shadow-lg: 0 30px 70px rgba(0, 22, 122, 0.16);
  --shadow-orange: 0 18px 45px rgba(255, 117, 31, 0.28);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1280px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
p { margin: 0 0 18px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--white); color: var(--ink); padding: 10px 18px; border-radius: 8px; transition: top .2s; box-shadow: var(--shadow-md); }
.skip-link:focus { top: 12px; }

/* ---------- Shared UI ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 2.4px;
  color: var(--orange); text-transform: uppercase; margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); border-radius: 2px; }
.eyebrow-light { color: #ffe3c9; }
.eyebrow-light::before { background: #ffe3c9; }

h2.section-title, .section h2, .section-heading h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.section h2 span, .section-heading h2 span { color: var(--orange); }
.section-text { font-size: 17px; line-height: 1.75; max-width: 620px; margin-bottom: 32px; color: var(--body); }

.section-heading.center { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-heading.center p { margin-bottom: 0; color: var(--body); }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  color: #fff; font-size: 13px; font-weight: 600;
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange-light);
  box-shadow: 0 0 0 4px rgba(255,154,82,0.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,154,82,0.25); } 50% { box-shadow: 0 0 0 8px rgba(255,154,82,0.12); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 15px;
  border: 0; border-radius: 999px; padding: 14px 28px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn span { font-size: 17px; line-height: 1; }
.btn-small { font-size: 13px; padding: 9px 20px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: var(--white);
  box-shadow: 0 14px 34px rgba(0, 22, 122, 0.26);
}
.btn-primary:hover { box-shadow: 0 18px 40px rgba(255, 117, 31, 0.32); }
.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  box-shadow: 0 14px 34px rgba(0, 22, 122, 0.24);
}
.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  box-shadow: 0 14px 34px rgba(255, 117, 31, 0.28);
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-light { background: var(--white); color: var(--blue-deep); box-shadow: var(--shadow-sm); }

.text-link {
  display: inline-flex; gap: 8px; align-items: center;
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 700;
  text-transform: uppercase; color: var(--blue); letter-spacing: .6px;
}
.text-link:hover { color: var(--orange); }
.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: height .25s, background .25s, box-shadow .25s;
}
.site-header.scrolled {
  height: 70px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 24px rgba(0, 22, 122, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: auto; height: 56px; max-width: 46vw; object-fit: contain; transition: height .25s; }
.site-header.scrolled .brand img { height: 46px; }
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a {
  color: var(--ink); font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px; font-weight: 600; position: relative;
  padding: 10px 14px; border-radius: 8px; transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--orange); background: var(--orange-pale); }
.main-nav a.active { color: var(--blue); background: var(--blue-light); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 55%, #1a2f8a 100%);
  padding: 90px 0 150px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,117,31,0.22), transparent 42%),
    radial-gradient(circle at 85% 15%, rgba(255,154,82,0.18), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(0,22,122,0.5), transparent 55%);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(40px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero h1 span {
  background: linear-gradient(90deg, #ffffff, #ffd2ac, #ff9a52);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text { color: rgba(255,255,255,0.88); font-size: 18px; line-height: 1.65; max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-metrics { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.18); }
.hero-metrics > div { display: flex; flex-direction: column; }
.hero-metrics strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
.hero-metrics span { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 6px; }

.hero-visual { position: relative; }
.code-window {
  background: rgba(11, 26, 74, 0.55);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.35);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(4deg);
  transition: transform .4s ease;
}
.code-window:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.window-title { margin-left: 12px; font-size: 12px; color: rgba(255,255,255,0.6); font-family: "Inter", monospace; }
.code-body {
  margin: 0; padding: 22px 24px; font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 14px; line-height: 1.7; color: #e2e8f0; overflow-x: auto;
}
.code-body .kw { color: #ff9a52; }
.code-body .fn { color: #7dd3fc; }
.code-body .comment { color: #94a3b8; font-style: italic; }

.floating-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; z-index: 3;
  background: rgba(255,255,255,0.96); color: var(--ink); border-radius: 14px;
  padding: 12px 18px; box-shadow: var(--shadow-lg);
  font-family: "Plus Jakarta Sans", sans-serif;
  animation: float 5s ease-in-out infinite;
}
.floating-chip strong { display: block; font-size: 14px; }
.floating-chip small { display: block; font-size: 11px; color: var(--muted); font-family: "Inter", sans-serif; }
.chip-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: #fff; font-size: 16px; }
.chip-icon-blue { background: linear-gradient(135deg, var(--blue), var(--orange)); }
.chip-one { left: -18px; bottom: 14%; }
.chip-two { right: -12px; top: 8%; animation-delay: 1.2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-wave { position: absolute; z-index: 2; left: 0; right: 0; bottom: -1px; height: 100px; background: var(--bg); clip-path: ellipse(80% 100% at 50% 100%); }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: 40% 60%; gap: 70px; align-items: start; }
.services-intro { position: sticky; top: 110px; }
.service-cards { display: grid; gap: 20px; }
.service-card {
  display: grid; grid-template-columns: 72px 1fr; gap: 22px; align-items: start;
  padding: 30px 32px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.service-icon {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-light), #dbe5ff);
  transition: background .3s;
}
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--orange), var(--orange-light)); }
.service-card:hover .service-icon svg { stroke: #fff; }
.service-card h3 { font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.service-card p { font-size: 15px; line-height: 1.7; margin-bottom: 14px; color: var(--body); }

/* ---------- Process ---------- */
.process { background: var(--bg-soft); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.step-number {
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 44px; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 16px; display: block;
}
.process-step h3 { font-size: 18px; margin-bottom: 10px; color: var(--ink); }
.process-step p { font-size: 14px; color: var(--body); margin: 0; line-height: 1.65; }

/* ---------- Why choose us ---------- */
.why { background: var(--bg); overflow: hidden; }
.why-particle { position: absolute; width: 260px; opacity: 0.4; pointer-events: none; }
.why-particle-left { left: -100px; top: 60px; }
.why-particle-right { right: -100px; bottom: 40px; }
.why-grid { position: relative; display: grid; grid-template-columns: 46% 54%; gap: 70px; align-items: center; }
.why-image-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-image-wrap img { width: 100%; }
.why-float { position: absolute; pointer-events: none; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.12)); }
.float-a { width: 120px; left: -40px; top: 8%; }
.float-b { width: 95px; left: -25px; bottom: 14%; }
.float-c { width: 110px; right: -30px; top: 16%; }
.float-d { width: 80px; right: -20px; bottom: 8%; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 16px; margin-bottom: 22px; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-light), #dbe5ff); color: var(--blue); font-size: 20px;
}
.feature-icon-blue { background: linear-gradient(135deg, var(--orange-pale), #ffdcc0); color: var(--orange); }
.feature h3 { font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.feature p { font-size: 15px; margin-bottom: 0; color: var(--body); }
.why-copy .btn { margin-top: 12px; }

/* ---------- Expertise ---------- */
.expertise {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(100deg, var(--blue-deep) 0%, var(--blue) 60%, var(--orange) 140%);
  padding: 90px 0 80px;
}
.expertise::before, .expertise::after { content: ""; position: absolute; border-radius: 50%; border: 2px dashed rgba(255,255,255,0.16); }
.expertise::before { width: 460px; height: 460px; left: -200px; top: -160px; }
.expertise::after { width: 340px; height: 340px; right: -140px; bottom: -120px; }
.expertise-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 55% 45%; gap: 60px; align-items: center; }
.expertise h2 { color: #fff; font-size: clamp(30px, 3vw, 44px); margin-bottom: 16px; }
.expertise-copy > p { color: rgba(255,255,255,0.88); font-size: 17px; max-width: 600px; }
.progress-list { display: grid; gap: 20px; margin: 32px 0 30px; }
.progress-head { display: flex; justify-content: space-between; gap: 20px; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600; font-size: 15px; margin-bottom: 8px; color: #fff; }
.progress-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.22); overflow: hidden; }
.progress-track span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #fff, #ffd2ac); transition: width 1.4s cubic-bezier(.22,1,.36,1); }
.expertise-visual { position: relative; min-height: 480px; display: grid; place-items: center; }
.expertise-main { width: min(100%, 380px); filter: drop-shadow(0 30px 50px rgba(0,0,0,0.25)); position: relative; z-index: 2; border-radius: 16px; }
.expertise-float { position: absolute; z-index: 3; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.2)); }
.ex-a { width: 190px; left: 0; top: 0; }
.ex-b { width: 170px; right: 0; top: 16%; }
.ex-c { width: 60px; left: 8%; bottom: 8%; }
.ex-d { width: 200px; right: 2%; bottom: 0; }
.stats-row {
  position: relative; z-index: 1; margin-top: 60px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.28);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center;
}
.stat-number { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 52px; font-weight: 800; line-height: 1; margin-bottom: 8px; color: #fff; }
.stat-label { display: block; font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.9); }

/* ---------- Work ---------- */
.work { background: var(--bg-soft); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-card {
  background: var(--white); border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.work-image { height: 230px; overflow: hidden; position: relative; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work-card:hover .work-image img { transform: scale(1.08); }
.work-meta { padding: 24px 26px 28px; }
.work-meta span { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.work-meta h3 { font-size: 19px; margin-top: 8px; margin-bottom: 8px; color: var(--ink); }
.work-meta p { font-size: 14px; color: var(--body); margin: 0; line-height: 1.6; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg); overflow: hidden; }
.carousel { position: relative; overflow: clip; }
.testimonial-track { display: flex; gap: 24px; transition: transform .6s cubic-bezier(.22,1,.36,1); will-change: transform; }
.testimonial-card {
  flex: 0 0 calc(50% - 12px); min-height: 300px; padding: 36px 40px;
  border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .4s, color .4s, transform .4s, border-color .4s;
}
.testimonial-card.is-active {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff; border-color: transparent; box-shadow: var(--shadow-orange);
}
.testimonial-card p { font-size: 17px; line-height: 1.7; margin: 0 0 24px; font-weight: 500; }
.quote-mark { font-family: Georgia, serif; font-size: 60px; line-height: .7; color: var(--orange); opacity: 0.4; }
.testimonial-card.is-active .quote-mark { color: #fff; opacity: 0.7; }
.client { display: flex; align-items: center; gap: 16px; }
.client img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.6); }
.client h3 { font-size: 16px; color: var(--ink); margin: 0; }
.testimonial-card.is-active .client h3 { color: #fff; }
.client span { font-size: 13px; color: var(--muted); }
.testimonial-card.is-active .client span { color: rgba(255,255,255,0.85); }
.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 32px; }
.carousel-controls button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--white); color: var(--ink); font-size: 18px; transition: .25s;
  box-shadow: var(--shadow-sm);
}
.carousel-controls button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: .25s; cursor: pointer; }
.carousel-dots i.active { width: 26px; border-radius: 999px; background: var(--orange); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-grid { display: grid; grid-template-columns: 40% 60%; gap: 70px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0; overflow: hidden; transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600; font-size: 16px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--orange); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 20px; margin: 0; font-size: 15px; color: var(--body); line-height: 1.7; }

/* ---------- Contact ---------- */
.contact {
  background: #0e1c6f;
  color: #fff; position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,117,31,0.25), transparent 45%);
}
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 32px; }
.contact-info { max-width: 920px; }
.contact-info .eyebrow { color: #ffe3c9; }
.contact-info .eyebrow::before { background: #ffe3c9; }
.contact-info h2 { color: #fff; margin-bottom: 16px; }
.contact-info > p { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 640px; margin-bottom: 32px; }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.9); }
.contact-list a { color: #fff; }
.contact-list a:hover { color: #ffd2ac; }
.contact .socials a { background: rgba(255,255,255,0.18); color: #fff; }
.contact .socials a:hover { background: rgba(255,255,255,0.32); }

.contact-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 40px; box-shadow: var(--shadow-lg);
  color: var(--ink); width: 100%; min-width: 0;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row > * { min-width: 0; }
.contact-form label { display: block; margin-bottom: 18px; }
.contact-form label span { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.contact-form input, .contact-form textarea {
  width: 100%; max-width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: 12px;
  font-size: 16px; color: var(--ink); background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical; min-width: 0;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,117,31,0.12);
}
.contact-form button { width: 100%; margin-top: 4px; }
.contact-form .btn-primary { background: #ff9045; box-shadow: 0 14px 34px rgba(255, 144, 69, 0.28); }
.contact-form .btn-primary:hover { background: #ff7a20; box-shadow: 0 18px 40px rgba(255, 144, 69, 0.35); }
.form-message { display: none; margin-top: 14px; font-size: 14px; color: #16a34a; font-weight: 600; }
.form-message.show { display: block; }
.form-message.error { color: #dc2626; }

/* ---------- Footer ---------- */
footer { color: #fff; background: #0e1c6f; }
.footer-main { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .brand img { height: 52px; margin-bottom: 18px; }
.footer-tagline { color: rgba(255,255,255,0.78); font-size: 15px; max-width: 300px; }
.footer-col h3 { color: #fff; font-size: 17px; margin-bottom: 18px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 15px; color: rgba(255,255,255,0.82); transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(255,255,255,0.16); color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700;
  transition: background .25s, transform .25s;
}
.socials a:hover { background: rgba(255,255,255,0.32); transform: translateY(-3px); }
.copyright { font-size: 13px; color: rgba(255,255,255,0.7); }
.copyright a { font-weight: 700; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.16); padding: 20px 0; }
.footer-bottom p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.65); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: #fff; font-size: 20px;
  box-shadow: var(--shadow-orange); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 2px; }
  .main-nav a { font-size: 13px; padding: 8px 10px; }
  .services-grid, .why-grid, .faq-grid, .contact-grid { gap: 44px; }
  .expertise-grid { gap: 40px; }
  .footer-grid { gap: 32px; }
}
@media (max-width: 960px) {
  .header-actions .btn-small { display: none; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0 24px;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s;
    backdrop-filter: blur(14px);
  }
  .main-nav.open { max-height: 480px; padding-top: 12px; padding-bottom: 16px; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; border-radius: 0; }
  .main-nav a:hover { background: transparent; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .code-window { transform: none; }
  .services-grid, .why-grid, .expertise-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: repeat(2, 1fr); }
  .services-intro, .faq-intro { position: static; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { flex-basis: 100%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 72px 0; }
  .brand img { height: 40px; max-width: 54vw; }
  .hero { padding: 60px 0 100px; }
  .hero h1 { font-size: 34px; }
  .hero-text { font-size: 16px; margin-bottom: 28px; }
  .hero-actions { gap: 12px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .hero-visual { padding: 0; }
  .floating-chip { padding: 9px 12px; }
  .floating-chip small { display: none; }
  .chip-one { left: 0; bottom: 8%; }
  .chip-two { right: 0; top: 4%; }
  .code-body { font-size: 12px; padding: 18px 16px; line-height: 1.6; }
  .window-bar { padding: 12px 14px; }
  .hero-metrics { gap: 20px 28px; }
  .hero-metrics strong { font-size: 24px; }
  .why-float, .expertise-float, .why-particle { display: none; }
  .service-card { grid-template-columns: 1fr; padding: 24px; gap: 16px; }
  .process-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-image { height: 200px; }
  .testimonial-card { padding: 26px 22px; min-height: 0; }
  .testimonial-card p { font-size: 15px; }
  .partners img { width: 100px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .contact-grid { gap: 36px; }
  .contact-list { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-main { padding: 56px 0 40px; }
  .stats-row { grid-template-columns: 1fr; gap: 24px; margin-top: 44px; padding-top: 32px; }
  .stat-number { font-size: 42px; }
  .expertise-visual { min-height: 280px; }
  .expertise-main { width: 100%; max-width: 320px; }
  .faq-item summary { padding: 18px 20px; font-size: 15px; }
  .faq-item p { padding: 0 20px 18px; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 24px, var(--container)); }
  .hero h1 { font-size: 30px; }
  .section h2, .section-heading h2 { font-size: 28px; }
  .hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
  .hero-metrics > div { align-items: center; }
  .floating-chip { display: none; }
  .code-body { font-size: 11px; padding: 14px 12px; }
  .window-title { font-size: 11px; margin-left: 8px; }
  .client { flex-direction: column; align-items: flex-start; gap: 10px; }
  .carousel-controls { gap: 12px; }
  .contact-form { padding: 20px 16px; border-radius: 16px; }
  .contact-form input, .contact-form textarea { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .floating-chip { animation: none; }
  .badge-dot { animation: none; }
}
/* ---------- focus ---------- */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }