/* ═══════════════════════════════════════════════════════════
   ADILwp — Design System
   ═══════════════════════════════════════════════════════════ */
:root {
  --primary: #0866F5;
  --primary-dark: #0552C9;
  --blue-2: #008DFF;
  --navy: #071B41;
  --light: #EAF4FF;
  --lighter: #F5F9FF;
  --white: #FFFFFF;
  --text: #52647D;
  --border: #E5EDF8;

  --grad: linear-gradient(135deg, #0866F5 0%, #008DFF 100%);
  --grad-deep: linear-gradient(120deg, #0549C9 0%, #0866F5 45%, #1E9BFF 100%);

  --shadow-sm: 0 4px 14px rgba(8, 102, 245, 0.06);
  --shadow: 0 14px 40px rgba(7, 27, 65, 0.08);
  --shadow-lg: 0 24px 60px rgba(8, 102, 245, 0.16);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  --container: 1240px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }

h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
h3 { font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.center { text-align: center; }
.text-blue { color: var(--primary); }

.ico {
  width: 1.15em; height: 1.15em; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ico-lg { width: 1.35em; height: 1.35em; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 999;
  padding: 10px 18px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid rgba(8, 102, 245, 0.45); outline-offset: 3px; border-radius: 6px; }

/* ═══════════ Buttons ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .ico { transition: transform .2s ease; }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.85rem; }

.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(8, 102, 245, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(8, 102, 245, 0.36); }

.btn-outline { background: #fff; color: var(--navy); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-outline .ico { color: var(--primary); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-ghost { background: #fff; color: var(--primary); border-color: rgba(8, 102, 245, 0.35); border-radius: 999px; }
.btn-ghost:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.btn-white { background: #fff; color: var(--navy); box-shadow: 0 10px 24px rgba(7, 27, 65, 0.18); }
.btn-white .ico { color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); }

.btn-chip { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.35); border-radius: 999px; padding: 0 18px; }
.btn-chip:hover { background: #fff; color: var(--navy); }
.btn-whatsapp .ico { color: #4ADE80; }
.btn-fiverr .fi { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1DBF73; color: #fff; font-size: 0.72rem; font-weight: 800; }
.btn-freelancer .ico { color: #7DD3FC; }

.is-pending { opacity: 0.55; cursor: not-allowed; pointer-events: none; }

/* ═══════════ Header ═══════════ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(7, 27, 65, 0.07); border-bottom-color: var(--border); }

.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.logo img { width: 40px; height: 40px; object-fit: contain; }
.logo-text { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.logo-text span { color: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 36px; margin-inline: auto; }
.main-nav a:not(.btn) {
  position: relative; padding: 8px 0;
  font-size: 0.95rem; font-weight: 500; color: var(--navy);
  transition: color .2s ease;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  border-radius: 2px; background: var(--primary);
  transform: scaleX(0); transition: transform .25s ease;
}
.main-nav a:not(.btn):hover,
.main-nav a.is-active { color: var(--primary); }
.main-nav a.is-active::after,
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-mobile-cta { display: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  border: 1px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--navy); transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══════════ Hero ═══════════ */
.hero {
  position: relative;
  padding: 40px 0 0;
  background: linear-gradient(180deg, #F3F8FF 0%, #EAF4FF 70%, #FFFFFF 100%);
  overflow-x: clip;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); }
.blob-1 { width: 520px; height: 520px; right: -120px; top: -140px; background: rgba(0, 141, 255, 0.18); }
.blob-2 { width: 380px; height: 380px; left: -160px; bottom: 60px; background: rgba(8, 102, 245, 0.08); }
.grid-pattern {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(8, 102, 245, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 102, 245, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px; align-items: center;
  min-height: 560px;
}

.pill-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 22px;
  border: 1px solid rgba(8, 102, 245, 0.25); border-radius: 999px;
  background: #fff; color: var(--primary);
  font-size: 0.85rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.pill-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(8, 102, 245, 0.15); }

.hero h1 {
  font-size: clamp(2.3rem, 4.3vw, 3.6rem);
  line-height: 1.08; letter-spacing: -0.035em;
  max-width: 600px;
}
.hero-text { max-width: 54ch; margin-top: 22px; font-size: 1.06rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.tech-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.tech-badges li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 8px; border-radius: 10px;
  background: #fff; border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease;
}
.tech-badges li:hover { transform: translateY(-2px); border-color: rgba(8, 102, 245, 0.35); }
.tb-ico { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-size: 0.8rem; font-weight: 800; }
.tb-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tb-wp { background: #E8F1FB; color: #21759B; }
.tb-shopify { background: #EAF7E6; color: #5E8E3E; }
.tb-react { background: #E6F8FC; color: #0EA5C6; }
.tb-react svg { stroke-width: 1.5; }
.tb-next { background: #0B0B0B; color: #fff; border-radius: 50%; }
.tb-seo { background: var(--light); color: var(--primary); }
.tb-saas { background: #EEF0FF; color: #4F46E5; }
.tb-ai { background: #F3ECFF; color: #7C3AED; }

/* Hero visual */
.hero-visual { position: relative; height: 560px; }
.hv-portrait {
  position: absolute; left: 50%; top: 50%;
  width: 440px; height: 440px;
  transform: translate(-50%, -48%);
  border-radius: 50%;
  padding: 10px;
  background: var(--grad);
  box-shadow: 0 30px 80px rgba(8, 102, 245, 0.35);
  z-index: 2;
}
.hv-portrait::before {
  content: ""; position: absolute; inset: -22px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 141, 255, 0.25), transparent 70%);
  z-index: -1;
}
.hv-portrait img {
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; object-position: center;
  border: 4px solid rgba(255, 255, 255, 0.85);
}
.hv-orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -48%); pointer-events: none; }
.hv-orbit-1 { width: 530px; height: 530px; border: 1.5px dashed rgba(8, 102, 245, 0.28); animation: spin 60s linear infinite; }
.hv-orbit-2 { width: 610px; height: 610px; border: 1px solid rgba(8, 102, 245, 0.12); }
.hv-orbit-1::after {
  content: ""; position: absolute; top: 12%; right: 8%; width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue-2); box-shadow: 0 0 0 6px rgba(0, 141, 255, 0.18);
}
.hv-dots {
  position: absolute; left: 0; bottom: 70px; width: 120px; height: 90px;
  background-image: radial-gradient(rgba(8, 102, 245, 0.35) 2px, transparent 2px);
  background-size: 16px 16px;
}
.hv-shape { position: absolute; z-index: 1; }
.hv-shape-1 { top: 70px; left: 40px; width: 26px; height: 26px; border: 3px solid var(--primary); border-radius: 7px; transform: rotate(20deg); opacity: .5; animation: float 7s ease-in-out infinite; }
.hv-shape-2 { bottom: 40px; right: 28%; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); opacity: .7; animation: float 6s ease-in-out infinite reverse; }
.hv-shape-3 { top: 46%; right: 2%; width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-bottom: 20px solid rgba(8, 102, 245, 0.45); animation: float 8s ease-in-out infinite; }

.hv-brand {
  position: absolute; right: 0; top: 20px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.hv-brand img { width: 64px; height: 64px; }
.hv-brand span { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.hv-brand b { color: var(--primary); }

.hv-signature {
  position: absolute; right: -6px; top: 42%; z-index: 3;
  font-family: var(--hand); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; text-align: left;
  transform: rotate(-6deg);
}
.hv-signature small { display: block; margin-top: 6px; font-size: 1.15rem; font-weight: 600; color: var(--primary); line-height: 1.15; }

.hv-card {
  position: absolute; right: 2%; bottom: 60px; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.hv-card p { font-size: 0.85rem; font-weight: 500; color: var(--navy); line-height: 1.35; }
.hv-card strong { color: var(--primary); }
.hv-card-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; }

/* Trust strip */
.trust-strip {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 20px 0 0; transform: translateY(40px);
  padding: 26px 10px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.trust-item { display: flex; align-items: flex-start; gap: 16px; padding: 4px 28px; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-ico { display: grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; background: var(--light); color: var(--primary); font-size: 1.3rem; }
.trust-item strong { display: block; color: var(--navy); font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.trust-big { font-size: 1.55rem; font-weight: 800; color: var(--primary); margin-right: 2px; }
.trust-item p { margin-top: 4px; font-size: 0.9rem; line-height: 1.5; }

/* ═══════════ Sections ═══════════ */
.section { padding: 96px 0; }
#services { padding-top: 136px; }
.section-tint { background: linear-gradient(180deg, #F7FAFF 0%, #F1F7FF 100%); }

.eyebrow { margin-bottom: 8px; color: var(--primary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow-light { color: #BFE0FF; }

.section-head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 24px 48px;
  margin-bottom: 44px;
}
.section-desc { max-width: 46ch; justify-self: center; font-size: 1rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  display: flex; gap: 18px; padding: 28px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(8, 102, 245, 0.3); }
.service-ico {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--light); color: var(--primary); font-size: 1.5rem;
  transition: background .25s ease, color .25s ease;
}
.service-ico.ico-green { background: #EAF7E6; color: #4E8A2E; }
.service-card:hover .service-ico { background: var(--grad); color: #fff; }
.service-card p { margin-top: 8px; font-size: 0.93rem; line-height: 1.6; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  color: var(--primary); font-size: 0.9rem; font-weight: 600;
}
.link-arrow .ico { transition: transform .2s ease; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover .project-media img { transform: scale(1.04); }
.project-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 22px 24px 24px; }
.project-body h3 { margin-top: 12px; font-size: 1.12rem; }
.project-body h3 a { color: inherit; transition: color .2s ease; }
.project-body h3 a:hover { color: var(--primary); }
.project-body p { margin-top: 8px; font-size: 0.93rem; flex: 1; color: var(--text); }
.project-card-actions { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.link-ext { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--light); color: var(--primary); transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.link-ext:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--light); color: var(--primary);
  font-size: 0.76rem; font-weight: 600;
}

/* Project placeholder mockups (replace with genuine screenshots) */
.mock { display: flex; flex-direction: column; color: #fff; }
.mock-bar { display: flex; gap: 5px; padding: 10px 12px; background: rgba(0, 0, 0, 0.18); }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); }
.mock-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 0 24px; }
.mock-body small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: .85; }
.mock-body strong { font-size: 1.35rem; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.mock-btn { margin-top: 4px; padding: 6px 14px; border-radius: 8px; background: #fff; color: var(--navy); font-size: 0.75rem; font-weight: 700; }
.mock-note {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(7, 27, 65, 0.55); color: #fff; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em;
}
.mock-luxe { background: linear-gradient(135deg, rgba(7, 27, 65, 0.15), rgba(7, 27, 65, 0.55)), radial-gradient(circle at 80% 30%, #FFC978 0, transparent 40%), linear-gradient(160deg, #2BA6A0 0%, #13606C 55%, #0B3B4D 100%); }
.mock-luxe::after { content: ""; position: absolute; right: -10%; bottom: -25%; width: 70%; height: 70%; border-radius: 50% 50% 0 0; background: rgba(255, 255, 255, 0.08); }
.mock-mets { background: radial-gradient(circle at 85% 20%, rgba(0, 200, 255, 0.45), transparent 45%), linear-gradient(150deg, #0A2A6B 0%, #071B41 70%); }
.mock-wave { position: absolute; left: 0; right: 0; bottom: 22%; width: 100%; height: 60px; fill: none; stroke: rgba(0, 200, 255, 0.55); stroke-width: 2; }
.mock-sankalp { background: linear-gradient(150deg, #FFFFFF 0%, #EAF4FF 100%); color: var(--navy); }
.mock-sankalp .mock-bar { background: rgba(8, 102, 245, 0.08); }
.mock-sankalp .mock-bar i { background: rgba(8, 102, 245, 0.35); }
.mock-sankalp .mock-body small { color: var(--primary); }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 56px; margin-top: 6px; }
.mock-chart i { width: 16px; height: var(--h); border-radius: 4px 4px 0 0; background: var(--grad); opacity: .85; }

/* More work gallery */
.more-work { margin-top: 64px; }
.more-work-head { margin-bottom: 24px; }
.more-work-head h3 { font-size: 1.35rem; }
.more-work-head p { margin-top: 6px; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.work-shot {
  position: relative; display: block; padding: 0; overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4 / 3; border: 1px solid var(--border); border-radius: 14px; background: #fff;
  box-shadow: var(--shadow-sm); text-align: left;
  transition: transform .25s ease, box-shadow .25s ease;
}
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.work-shot span {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  padding: 9px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.94); color: var(--navy);
  font-size: 0.85rem; font-weight: 700; line-height: 1.25;
  box-shadow: 0 6px 18px rgba(7, 27, 65, 0.12);
}
.work-shot small { display: block; font-size: 0.74rem; font-weight: 500; color: var(--primary); }
.work-shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-shot:hover img { transform: scale(1.05); }
.work-shot.is-hidden { display: none; }
.more-work .center { margin-top: 28px; }

/* Why + Process */
.why-process { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.why h2, .process h2, .about h2, .reviews h2, .block-head h2 { font-size: clamp(1.55rem, 2.2vw, 1.9rem); }

.why-inner { display: flex; gap: 20px; align-items: center; margin-top: 26px; }
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 500; }
.check-list .ico { color: var(--primary); font-size: 1.2rem; }
.handwritten { position: relative; font-family: var(--hand); font-size: 1.7rem; font-weight: 700; line-height: 1.1; color: var(--primary); transform: rotate(-8deg); white-space: nowrap; margin-left: auto; }
.hand-arrow { position: absolute; left: -54px; top: 46px; width: 64px; height: 32px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; transform: scaleX(-1); }

.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 30px; counter-reset: s; }
.process-steps li { position: relative; text-align: center; }
.process-steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 31px; left: calc(50% + 40px); right: calc(-50% + 40px);
  height: 2px; background: repeating-linear-gradient(90deg, rgba(8, 102, 245, 0.45) 0 6px, transparent 6px 11px);
}
.process-steps li:not(:last-child)::before {
  content: ""; position: absolute; top: 27px; right: calc(-50% + 38px);
  width: 8px; height: 8px; border-top: 2px solid var(--primary); border-right: 2px solid var(--primary); transform: rotate(45deg);
}
.step-ico {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.45rem;
  box-shadow: 0 12px 26px rgba(8, 102, 245, 0.3), 0 0 0 7px rgba(8, 102, 245, 0.1);
  transition: transform .25s ease;
}
.process-steps li:hover .step-ico { transform: translateY(-4px) scale(1.04); }
.process-steps h3 { font-size: 0.98rem; }
.process-steps h3 span { color: var(--primary); }
.process-steps p { margin-top: 6px; font-size: 0.85rem; line-height: 1.5; }

/* ═══════════ About Me (Creative & Attractive Showcase) ═══════════ */
.about-section {
  position: relative;
  overflow: hidden;
}
.about-header-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 52px;
}
.about-header-wrap .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--light);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.about-main-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.about-main-subtitle {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 auto;
}

/* Showcase: 2-column Layout */
.about-showcase {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}

/* Left: Visual Canvas */
.about-visual {
  position: relative;
}
.about-visual-canvas {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 24px 16px 36px;
}
.about-ambient-glow {
  position: absolute;
  inset: 10% 5% 15% 5%;
  background: radial-gradient(circle, rgba(8, 102, 245, 0.22) 0%, rgba(0, 141, 255, 0.08) 45%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.about-decor-dots {
  position: absolute;
  top: 0;
  left: -12px;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(rgba(8, 102, 245, 0.28) 2px, transparent 2px);
  background-size: 14px 14px;
  z-index: 0;
  pointer-events: none;
}
.about-photo-card {
  position: relative;
  z-index: 1;
  border-radius: 26px;
  padding: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(234, 244, 255, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(7, 27, 65, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .35s ease, box-shadow .35s ease;
}
.about-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(8, 102, 245, 0.2);
}
.about-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy);
  aspect-ratio: 1;
}
.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
  transition: transform .5s ease;
}
.about-photo-card:hover .about-photo-frame img {
  transform: scale(1.04);
}
.about-status-pill {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(7, 27, 65, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  z-index: 2;
}
.status-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: status-pulse-anim 2s infinite;
}
@keyframes status-pulse-anim {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Floating Badges */
.about-float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(7, 27, 65, 0.12);
  transition: transform .3s ease;
}
.about-float-card:hover {
  transform: translateY(-3px) scale(1.02);
}
.about-float-exp {
  top: 10px;
  left: -28px;
  animation: float 6s ease-in-out infinite;
}
.about-float-rating {
  bottom: 16px;
  right: -28px;
  animation: float 7s ease-in-out infinite reverse;
}
.about-float-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--light);
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.about-float-icon.icon-gold {
  background: #FEF3C7;
  color: #D97706;
}
.about-float-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.about-float-card small {
  display: block;
  font-size: 0.76rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.25;
  margin-top: 2px;
}
.float-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stars-mini {
  color: #FBBF24;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

/* Right: Content Column */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about-intro-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.intro-greeting {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.015em;
}
.intro-role {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(8, 102, 245, 0.08);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}
.about-bio-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.72;
}
.about-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.68;
}

/* Metrics Grid */
.about-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.about-metric-item {
  text-align: center;
  padding: 4px 6px;
  border-right: 1px solid var(--border);
}
.about-metric-item:last-child {
  border-right: none;
}
.metric-num {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.metric-num small {
  font-size: 1.1rem;
}
.metric-label {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

/* Toolkit */
.about-tech-toolkit {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toolkit-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.toolkit-title .ico {
  color: var(--primary);
}
.toolkit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.toolkit-chips .chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background-color .2s ease;
}
.toolkit-chips .chip:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
  background: var(--light);
}

/* CTA Row */
.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

/* 3 Core Philosophy / Pillar Cards */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s ease, border-color .3s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 102, 245, 0.35);
  box-shadow: var(--shadow-lg);
}
.pillar-accent {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .3s ease;
}
.pillar-card:hover .pillar-accent {
  opacity: 1;
}
.pillar-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--light);
  color: var(--primary);
  font-size: 1.45rem;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.pillar-icon.icon-code {
  background: #EEF2FF;
  color: #4F46E5;
}
.pillar-icon.icon-chat {
  background: #ECFDF5;
  color: #059669;
}
.pillar-card:hover .pillar-icon {
  transform: scale(1.08) rotate(3deg);
}
.pillar-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 8px;
}
.pillar-content p {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--text);
  margin: 0;
}

/* Reviews */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #E9F9EF;
  color: #15803D;
  font-size: 0.82rem;
  font-weight: 600;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-top { display: flex; align-items: center; gap: 12px; }
.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.review-top strong { display: block; color: var(--navy); font-size: 0.95rem; line-height: 1.25; word-break: break-word; }
.review-top small { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; }
.review-top small .ico { width: 13px; height: 13px; color: var(--primary); }
.stars { display: flex; gap: 3px; color: #FBBF24; }
.stars svg { width: 17px; height: 17px; }
.review-card blockquote { margin: 0; font-size: 0.9rem; line-height: 1.65; color: var(--text); flex: 1; }
.review-source {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 0.78rem;
  color: #8A99AD;
}

/* Blog + FAQ */
.blog-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.blog-card { overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-thumb { display: grid; place-items: center; aspect-ratio: 16 / 10; color: #fff; font-size: 2.2rem; }
.blog-thumb span { font-size: 1.7rem; font-weight: 800; letter-spacing: 0.04em; }
.thumb-wp { background: radial-gradient(circle at 30% 30%, #3B8BF7, transparent 60%), linear-gradient(135deg, #0B3D91, #0866F5); }
.thumb-saas { background: radial-gradient(circle at 70% 30%, #67C8FF, transparent 55%), linear-gradient(135deg, #071B41, #1B4FA8); }
.thumb-seo { background: radial-gradient(circle at 30% 70%, #4FC3F7, transparent 55%), linear-gradient(135deg, #0866F5, #008DFF); }
.blog-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.blog-body h3 { margin-top: 10px; font-size: 0.98rem; line-height: 1.35; }
.blog-body h3 a { color: inherit; transition: color .2s ease; }
.blog-body h3 a:hover { color: var(--primary); }
.blog-desc { margin-top: 8px; font-size: 0.88rem; color: var(--text); line-height: 1.55; flex: 1; }
.blog-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.blog-meta { font-size: 0.8rem; font-weight: 500; color: #7B8CA3; display: inline-flex; align-items: center; gap: 6px; }
.blog-meta .ico { width: 14px; height: 14px; color: var(--primary); }

.faq-list { display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-list details[open] { border-color: rgba(8, 102, 245, 0.35); box-shadow: var(--shadow-sm); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; cursor: pointer; list-style: none;
  color: var(--navy); font-size: 0.95rem; font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ico { color: var(--primary); transition: transform .25s ease; }
.faq-list details[open] summary .ico { transform: rotate(45deg); }
.faq-list details p { padding: 0 18px 16px; font-size: 0.92rem; }

/* Contact banner */
.contact-section { padding: 0 0 96px; }
.contact-banner {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px 48px;
  padding: 48px 52px; border-radius: var(--r-lg);
  background: var(--grad-deep); color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 70px rgba(8, 102, 245, 0.3);
}
.cb-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.cb-shape-1 { width: 380px; height: 380px; right: -100px; top: -180px; border: 60px solid rgba(255, 255, 255, 0.06); }
.cb-shape-2 { width: 220px; height: 220px; left: 35%; bottom: -140px; background: rgba(255, 255, 255, 0.06); }
.cb-text, .cb-actions { position: relative; z-index: 1; }
.contact-banner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cb-text > p:last-child { margin-top: 10px; max-width: 48ch; }
.cb-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cb-emails { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 0.9rem; }
.cb-emails a { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.cb-emails a:hover { text-decoration: underline; }
.cb-emails small { opacity: .7; }

/* Footer */
.site-footer { padding: 64px 0 0; background: #fff; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.2fr; gap: 36px; }
.footer-brand p { margin-top: 14px; max-width: 30ch; font-size: 0.92rem; }
.footer-col h3 { margin-bottom: 16px; font-size: 0.98rem; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 0.92rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--primary); }
.two-col { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 24px; justify-content: start; }
.two-col li + li { margin-top: 0; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .ico { color: var(--primary); }
.contact-list a { word-break: break-all; }
.footer-cta p { font-size: 0.92rem; margin-bottom: 16px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.socials a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--light); color: var(--primary);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding: 22px 0; border-top: 1px solid var(--border); font-size: 0.86rem;
}
.heart { color: #EF4444; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(7, 27, 65, 0.72); backdrop-filter: blur(8px); }
.lightbox[hidden] { display: none; }
.lightbox-dialog { display: flex; flex-direction: column; width: min(1000px, 100%); max-height: calc(100vh - 48px); background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35); }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.lightbox-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--light); color: var(--navy); cursor: pointer; font-size: 1.1rem; }
.lightbox-close:hover { background: var(--primary); color: #fff; }
.lightbox-scroll { overflow: auto; }
.lightbox-scroll img { width: 100%; height: auto; }

/* Reveal animation: accessible, progressive & reliable */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.trust-strip.reveal {
  transform: translateY(40px);
}
.js .trust-strip.reveal:not(.is-visible) {
  transform: translateY(60px);
  opacity: 0;
}
.js .trust-strip.reveal.is-visible {
  transform: translateY(40px);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal, .js .reveal:not(.is-visible) { opacity: 1 !important; transform: none !important; }
}

/* ═══════════ Responsive ═══════════ */
@media (max-width: 1280px) {
  .main-nav { gap: 26px; }
  .hv-portrait { width: 400px; height: 400px; }
  .hv-orbit-1 { width: 480px; height: 480px; }
  .hv-orbit-2 { width: 550px; height: 550px; }
  .blog-faq { gap: 36px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
  .footer-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 22px 26px; border-radius: var(--r); background: var(--lighter); border: 1px solid var(--border); }
  .footer-cta h3 { margin: 0; }
  .footer-cta p { margin: 0; flex: 1; }
}

@media (max-width: 1100px) {
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hv-portrait { width: 340px; height: 340px; }
  .hv-orbit-1 { width: 410px; height: 410px; }
  .hv-orbit-2 { width: 470px; height: 470px; }
  .hv-signature { font-size: 1.7rem; right: -10px; }
  .hero-visual { height: 500px; }
  .why-process, .blog-faq { grid-template-columns: 1fr; gap: 64px; }
  .why-inner { max-width: 640px; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .about-showcase { grid-template-columns: 360px 1fr; gap: 40px; }
  .about-float-exp { left: -14px; }
  .about-float-rating { right: -14px; }
}

@media (max-width: 1024px) {
  .section-head { grid-template-columns: 1fr auto; }
  .section-desc { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid .project-card:last-child { grid-column: 1 / -1; flex-direction: row; }
  .projects-grid .project-card:last-child .project-media { flex: 0 0 50%; aspect-ratio: auto; min-height: 260px; }
  .contact-banner { grid-template-columns: 1fr; padding: 44px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-block; }
  .main-nav {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 24px; margin: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(7, 27, 65, 0.1);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-mobile-cta { display: inline-flex; margin-top: 18px; min-height: 50px; }

  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; min-height: 0; }
  .hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero h1 { max-width: 18ch; }
  .hero-text { margin-inline: auto; }
  .hero-actions, .tech-badges { justify-content: center; }
  .hero-visual { height: 480px; max-width: 560px; width: 100%; margin-inline: auto; }
  .trust-strip { grid-template-columns: 1fr; padding: 10px 6px; }
  .trust-item { padding: 18px 20px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--border); }
  #services { padding-top: 120px; }
  .about-showcase { grid-template-columns: 1fr; gap: 44px; }
  .about-visual-canvas { max-width: 360px; }
  .about-float-exp { left: -10px; }
  .about-float-rating { right: -10px; }
  .about-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .contact-section { padding-bottom: 72px; }
  .process-steps { grid-template-columns: 1fr; gap: 0; max-width: 520px; }
  .process-steps li { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 18px; text-align: left; padding-bottom: 26px; }
  .process-steps .step-ico { grid-row: 1 / span 2; margin: 0; }
  .process-steps h3 { align-self: end; }
  .process-steps p { margin-top: 2px; }
  .process-steps li:not(:last-child)::after { top: 72px; bottom: 4px; left: 31px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(8, 102, 245, 0.45) 0 6px, transparent 6px 11px); }
  .process-steps li:not(:last-child)::before { display: none; }
  .reviews-grid, .blog-grid { grid-template-columns: 1fr; }
  .blog-card { display: grid; grid-template-columns: 130px 1fr; }
  .blog-thumb { aspect-ratio: auto; height: 100%; min-height: 110px; font-size: 1.8rem; }
  .blog-thumb span { font-size: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--container)); }
  .logo-text { font-size: 1.35rem; }
  .logo img { width: 36px; height: 36px; }
  .hero h1 { font-size: clamp(2rem, 8.4vw, 2.5rem); }
  .hero-text { font-size: 1rem; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .tech-badges { gap: 8px; }
  .tech-badges li { font-size: 0.8rem; padding: 6px 12px 6px 6px; }

  .hero-visual { height: 420px; }
  .hv-portrait { width: 270px; height: 270px; top: 48%; padding: 7px; }
  .hv-orbit-1 { width: 320px; height: 320px; top: 48%; }
  .hv-orbit-2 { width: 370px; height: 370px; top: 48%; }
  .hv-brand { top: 4px; right: 4px; }
  .hv-brand img { width: 42px; height: 42px; }
  .hv-brand span { font-size: 1.15rem; }
  .hv-signature { top: auto; bottom: 18px; left: 2px; right: auto; font-size: 1.45rem; }
  .hv-signature small { font-size: 0.95rem; }
  .hv-card { right: 0; bottom: 20px; padding: 10px 12px; gap: 8px; }
  .hv-card p { font-size: 0.74rem; }
  .hv-card-ico { width: 34px; height: 34px; }
  .hv-dots { left: auto; right: 10px; top: 70px; bottom: auto; width: 70px; height: 60px; }
  .hv-shape-1 { top: 30px; left: 16px; }

  .section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .section-head .btn { justify-self: start; }
  .services-grid, .projects-grid { grid-template-columns: 1fr; }
  .projects-grid .project-card:last-child { flex-direction: column; grid-column: auto; }
  .projects-grid .project-card:last-child .project-media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .service-card { padding: 22px; }

  .why-inner { flex-direction: column; align-items: flex-start; }
  .handwritten { margin: 12px 0 0 auto; font-size: 1.5rem; }
  .hand-arrow { display: none; }

  .about-header-wrap { margin-bottom: 34px; }
  .about-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .about-metric-item { padding: 10px 4px; }
  .about-metric-item:nth-child(2) { border-right: none; }
  .about-metric-item:nth-child(3) { border-top: 1px solid var(--border); }
  .about-metric-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .about-cta-row .btn { width: 100%; }
  .about-float-card { padding: 10px 14px; gap: 10px; }
  .about-float-icon { width: 36px; height: 36px; font-size: 1rem; }
  .about-float-card strong { font-size: 0.9rem; }
  .about-float-card small { font-size: 0.72rem; }

  .reviews-head .btn { margin-left: 0; }
  .block-head { flex-wrap: wrap; }

  .contact-banner { padding: 34px 22px; }
  .cb-buttons .btn { flex: 1 1 calc(50% - 10px); }
  .cb-buttons .btn-white { flex-basis: 100%; }
  .cb-emails { flex-direction: column; }

  .work-grid { gap: 12px; }
  .work-shot span { left: 6px; right: 6px; bottom: 6px; padding: 7px 9px; font-size: 0.78rem; }
  .work-shot small { font-size: 0.68rem; }

  .lightbox { padding: 10px; }
}

@media (max-width: 420px) {
  .blog-card { grid-template-columns: 1fr; }
  .blog-thumb { aspect-ratio: 16 / 9; height: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; }
  .work-grid { grid-template-columns: 1fr; }
}

/* ═══════════ Inner Pages (Projects & Blog) ═══════════ */
.inner-hero {
  padding: 56px 0 36px;
  background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text);
  margin-bottom: 20px;
}
.breadcrumb a {
  color: var(--primary);
  font-weight: 500;
  transition: text-decoration .2s ease;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #A0B3CC; font-size: 0.75rem; }
.breadcrumb-current { color: var(--navy); font-weight: 600; }

.inner-hero-header {
  max-width: 860px;
}
.inner-hero-header h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.15;
  margin-top: 8px;
  margin-bottom: 16px;
}
.inner-hero-subtitle {
  font-size: 1.12rem;
  color: var(--text);
  line-height: 1.65;
  max-width: 68ch;
}
.inner-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
}
.inner-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.inner-hero-meta-item .ico {
  color: var(--primary);
}

/* Project Detail Page */
.project-detail-layout {
  padding: 64px 0 96px;
}
.project-media-hero {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  margin-bottom: 48px;
  background: #071B41;
}
.project-media-hero img {
  width: 100%;
  height: auto;
  display: block;
}
.project-meta-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
}
.project-meta-col small {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 4px;
}
.project-meta-col strong {
  display: block;
  font-size: 0.98rem;
  color: var(--navy);
  line-height: 1.35;
}
.project-meta-col a {
  color: var(--primary);
  text-decoration: underline;
  word-break: break-all;
}

.project-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
  gap: 52px;
  align-items: start;
}
.project-narrative h2 {
  font-size: 1.65rem;
  margin: 32px 0 14px;
  color: var(--navy);
}
.project-narrative h2:first-child {
  margin-top: 0;
}
.project-narrative p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 20px;
}
.project-features-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 32px;
}
.project-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.project-feature-item .ico {
  color: var(--primary);
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}
.project-feature-item strong {
  display: block;
  font-size: 0.96rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.project-feature-item p {
  font-size: 0.88rem;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}

.project-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.project-card-widget {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.project-card-widget h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--navy);
}
.project-card-widget .btn {
  width: 100%;
}
.tech-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.tech-tag {
  display: inline-flex;
  padding: 5px 12px;
  background: var(--light);
  color: var(--navy);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Related Projects / Nav */
.project-nav-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--lighter);
}
.project-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.project-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ═══════════ Reading Progress Bar ═══════════ */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 9999;
  transition: width 0.08s ease-out;
}

/* ═══════════ Dedicated Article Hero ═══════════ */
.article-hero {
  padding: 56px 0 44px;
  background: linear-gradient(180deg, #F0F6FF 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border);
}
.article-hero-inner {
  max-width: 880px;
  margin: 0 auto;
}
.article-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.article-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 20px;
  font-weight: 800;
}
.article-hero-lead {
  font-size: 1.18rem;
  color: #43546F;
  line-height: 1.65;
  margin-bottom: 28px;
}
.article-author-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  background: #FFFFFF;
  border: 1px solid #E1ECF9;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(7, 27, 65, 0.04);
  flex-wrap: wrap;
}
.author-pill {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-pill-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}
.author-pill-info strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.98rem;
  color: var(--navy);
  font-weight: 700;
}
.author-pill-info small {
  display: block;
  font-size: 0.8rem;
  color: #5C728F;
}
.article-quick-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.86rem;
  color: #5C728F;
  flex-wrap: wrap;
}
.article-quick-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-quick-meta .ico {
  color: var(--primary);
}

/* ═══════════ Blog Article Section & Layout ═══════════ */
.article-section {
  padding: 56px 0 96px;
  background: #FAFCFF;
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}
.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Table of Contents Widget */
.article-toc {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(7, 27, 65, 0.04);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
}
.article-toc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.article-toc-head .ico {
  color: var(--primary);
}
.article-toc ul, .article-toc ol {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-toc li a {
  display: block;
  font-size: 0.88rem;
  color: #4A5D78;
  padding: 7px 12px;
  border-radius: 8px;
  line-height: 1.45;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}
.article-toc li a:hover {
  color: var(--primary);
  background: #F0F6FF;
  border-left-color: var(--primary);
  text-decoration: none;
  padding-left: 14px;
}

/* Sidebar Widgets */
.sidebar-author-widget {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(7, 27, 65, 0.04);
}
.sidebar-author-widget .author-top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.sidebar-author-widget .author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}
.sidebar-author-widget .author-top strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}
.sidebar-author-widget .author-top span {
  font-size: 0.8rem;
  color: #5C728F;
}
.sidebar-author-widget p {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 16px;
}
.sidebar-author-actions {
  display: flex;
  gap: 10px;
}
.sidebar-author-actions .btn {
  flex: 1;
}

.sidebar-cta-widget {
  padding: 28px 24px;
  background: linear-gradient(135deg, #0866F5 0%, #008DFF 100%);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(8, 102, 245, 0.2);
}
.sidebar-cta-widget h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 10px;
}
.sidebar-cta-widget p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 20px;
}
.sidebar-cta-widget .btn {
  width: 100%;
}

/* ═══════════ Article Prose Typography ═══════════ */
.article-prose {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #2D3D54;
  max-width: 820px;
}
.article-prose p {
  margin-bottom: 24px;
}
.article-prose h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  color: var(--navy);
  margin: 52px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.article-prose h2:first-of-type {
  margin-top: 24px;
  padding-top: 0;
  border-top: none;
}
.article-prose h3 {
  font-size: 1.35rem;
  color: #0C234E;
  margin: 36px 0 14px;
  line-height: 1.35;
  font-weight: 700;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.article-prose .lead-box {
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--navy);
  font-weight: 500;
  background: linear-gradient(135deg, #F0F6FF 0%, #FFFFFF 100%);
  border-left: 4px solid var(--primary);
  border-radius: 0 14px 14px 0;
  padding: 22px 28px;
  margin-bottom: 36px;
  box-shadow: 0 4px 16px rgba(7, 27, 65, 0.03);
  border-top: 1px solid #E1ECF9;
  border-right: 1px solid #E1ECF9;
  border-bottom: 1px solid #E1ECF9;
}
.article-prose ul, .article-prose ol {
  margin: 0 0 26px 0;
  padding-left: 24px;
}
.article-prose li {
  margin-bottom: 12px;
  line-height: 1.75;
}
.article-prose li strong {
  color: var(--navy);
}
.article-prose blockquote {
  margin: 32px 0;
  padding: 22px 28px;
  background: #F0F6FF;
  border-left: 4px solid var(--primary);
  border-radius: 0 14px 14px 0;
  color: var(--navy);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
}
.article-prose code {
  font-family: 'JetBrains Mono', Consolas, Menlo, Monaco, monospace;
  background: #EDF4FE;
  color: #0657D0;
  font-size: 0.88em;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #D5E4F9;
}
.article-prose pre {
  background: #0B172E;
  color: #E2E8F0;
  padding: 22px 26px;
  border-radius: 14px;
  overflow-x: auto;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 28px 0;
  border: 1px solid #1E2D4A;
  box-shadow: var(--shadow-sm);
}
.article-prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border: none;
  font-size: inherit;
  font-weight: 400;
}

/* Callout Cards */
.article-prose .callout-card {
  padding: 22px 26px;
  border-radius: 14px;
  margin: 32px 0;
  box-shadow: 0 4px 16px rgba(7, 27, 65, 0.03);
}
.article-prose .callout-card-blue {
  background: #F0F6FF;
  border: 1px solid #CDE0FD;
  color: #173B6C;
}
.article-prose .callout-card-green {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}
.article-prose .callout-card-amber {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
}
.article-prose .callout-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-prose .callout-card p:last-child {
  margin-bottom: 0;
}

/* Checklist Display */
.article-prose .checklist-grid {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px;
}
.article-prose .checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(7, 27, 65, 0.03);
  font-size: 0.98rem;
  line-height: 1.55;
}
.article-prose .checklist-item svg {
  width: 22px;
  height: 22px;
  color: #10B981;
  stroke: #10B981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Responsive Table */
.article-prose .table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 32px 0;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(7, 27, 65, 0.03);
}
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.96rem;
}
.article-prose th, .article-prose td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.article-prose th {
  background: #F0F6FF;
  color: var(--navy);
  font-weight: 700;
}
.article-prose tr:last-child td {
  border-bottom: none;
}
.article-prose tr:nth-child(even) td {
  background: #FAFCFF;
}

/* In-Article CTA Banner */
.article-prose .article-cta-box {
  background: linear-gradient(135deg, #071B41 0%, #0F2D66 100%);
  color: #fff;
  padding: 40px 36px;
  border-radius: 18px;
  margin-top: 52px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(7, 27, 65, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.article-prose .article-cta-box h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 12px;
}
.article-prose .article-cta-box p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  max-width: 620px;
  margin: 0 auto 24px;
}

/* ═══════════ Author Bio Card ═══════════ */
.article-author-bio {
  display: flex;
  gap: 26px;
  align-items: center;
  padding: 32px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(7, 27, 65, 0.04);
  margin: 56px 0 40px;
}
.article-author-bio-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  flex-shrink: 0;
}
.article-author-bio-content h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 4px;
}
.article-author-bio-content .role {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}
.article-author-bio-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 14px;
}
.article-author-bio-links {
  display: flex;
  gap: 16px;
  font-size: 0.88rem;
  font-weight: 600;
}
.article-author-bio-links a {
  color: var(--primary);
}
.article-author-bio-links a:hover {
  text-decoration: underline;
}

/* ═══════════ Related Article Navigation ═══════════ */
.article-nav-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.article-nav-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(7, 27, 65, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.article-nav-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.article-nav-card small {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}
.article-nav-card h4 {
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
}

/* ═══════════ 404 Page ═══════════ */
.page-404 {
  padding: 96px 0 120px;
  text-align: center;
}
.page-404-content {
  max-width: 620px;
  margin: 0 auto;
}
.page-404-code {
  font-size: clamp(6rem, 14vw, 9.5rem);
  font-weight: 900;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 8px;
}
.page-404-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 16px;
}
.page-404-desc {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 auto 32px;
}
.page-404-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   ADILwp — Service Pages & Hub Components
   ═══════════════════════════════════════════════════════════ */

/* Service Hero */
.service-hero {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, #F5F9FF 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 102, 245, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.service-hero-inner {
  max-width: 920px;
}
.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--light);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.service-badge .ico {
  width: 15px;
  height: 15px;
}
.service-hero h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.service-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 780px;
}
.service-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.service-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(7, 27, 65, 0.03);
}
.service-pill-item .ico {
  color: var(--primary);
  width: 14px;
  height: 14px;
}
.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Service Detail Layout (Main content + Sidebar) */
.service-layout {
  padding: 72px 0;
}
.service-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
.service-main-content {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* Service Section Headings */
.service-block-title {
  font-size: clamp(1.45rem, 2.3vw, 1.85rem);
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.service-block-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
}

/* Deliverables / Included Cards */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.deliverable-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.deliverable-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(8, 102, 245, 0.3);
}
.deliverable-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--light);
  color: var(--primary);
  margin-bottom: 16px;
}
.deliverable-icon.green { background: #EAF7E6; color: #4E8A2E; }
.deliverable-icon.purple { background: #F3ECFF; color: #7C3AED; }
.deliverable-card h3 {
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.deliverable-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* Process Timeline Steps */
.process-steps-list {
  display: grid;
  gap: 18px;
}
.process-step-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.step-num-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.process-step-content h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.process-step-content p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* Target Audience / Benefits Split */
.audience-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.audience-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.audience-card.highlight {
  background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
  border-color: rgba(8, 102, 245, 0.25);
}
.audience-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.audience-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audience-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text);
}
.audience-card li .ico {
  color: var(--primary);
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* FAQ Accordion / Cards */
.service-faq-list {
  display: grid;
  gap: 14px;
}
.service-faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.service-faq-item h3 {
  font-size: 1.04rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}
.service-faq-item p {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

/* Sticky Sidebar */
.service-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-service-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.sidebar-service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.sidebar-service-card p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 18px;
}
.sidebar-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Services Hub Page Styles */
.services-category-block {
  margin-bottom: 64px;
}
.services-category-block:last-child {
  margin-bottom: 0;
}
.services-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 28px;
}
.services-category-head h2 {
  font-size: 1.55rem;
  color: var(--navy);
}
.services-category-head span {
  font-size: 0.88rem;
  color: #5C728F;
  font-weight: 600;
}
.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-hub-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-hub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(8, 102, 245, 0.3);
}
.service-hub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.service-hub-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.service-hub-card h3 a {
  color: inherit;
  transition: color .2s ease;
}
.service-hub-card h3 a:hover {
  color: var(--primary);
}
.service-hub-card p {
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.service-hub-deliverables {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-hub-deliverables li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
}
.service-hub-deliverables li .ico {
  color: var(--primary);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.service-hub-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ═══════════ Responsive Breakpoints ═══════════ */
@media (max-width: 1024px) {
  .project-content-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-sidebar { position: static; }
  .project-meta-box { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .article-grid { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
  .article-toc { position: static; max-height: none; }
  .article-nav-cards { grid-template-columns: 1fr; }
  .service-grid-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-sidebar { position: static; }
  .services-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .inner-hero { padding: 40px 0 24px; }
  .article-hero { padding: 40px 0 28px; }
  .article-author-strip { flex-direction: column; align-items: flex-start; gap: 12px; }
  .article-author-bio { flex-direction: column; text-align: center; padding: 24px; }
  .article-author-bio-links { justify-content: center; }
  .project-meta-box { grid-template-columns: 1fr; }
  .project-nav-grid { grid-template-columns: 1fr; }
  .sidebar-author-actions { flex-direction: column; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .audience-cards-grid { grid-template-columns: 1fr; }
  .services-hub-grid { grid-template-columns: 1fr; }
  .service-pills-row { flex-direction: column; align-items: flex-start; }
}