/* AKENTEK — Kurumsal web sitesi */
:root {
  --navy-900: #0a1b3d;
  --navy-800: #0f254d;
  --navy-700: #14306a;
  --navy-600: #1a3d85;
  --blue-500: #2b5cc9;
  --blue-400: #3d7bed;
  --blue-300: #6fa0ff;
  --blue-50:  #eef4ff;
  --ink-900:  #0b1323;
  --ink-700:  #28334a;
  --ink-500:  #5b6677;
  --ink-400:  #7d8697;
  --ink-300:  #b7bfcc;
  --line:     #e3e7ef;
  --line-2:   #eef1f6;
  --bg:       #ffffff;
  --bg-soft:  #f6f8fc;
  --bg-tint:  #eff3fa;
  --amber:    #f4a62a;
  --ok:       #1a9e6a;
  --warn:     #d94c4c;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10,27,61,.06), 0 1px 1px rgba(10,27,61,.04);
  --shadow-md: 0 10px 30px -12px rgba(10,27,61,.18), 0 2px 4px rgba(10,27,61,.04);
  --shadow-lg: 0 30px 60px -20px rgba(10,27,61,.25), 0 4px 10px rgba(10,27,61,.06);
  --container: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Source Serif 4', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.03; font-weight: 450; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.2; }
p  { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 112px 0; position: relative; }
.section-sm { padding: 72px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-500);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6;
}
.eyebrow.plain::before { display: none; }

.lede { font-size: 18px; color: var(--ink-700); max-width: 62ch; }
.lede-lg { font-size: 20px; color: var(--ink-700); max-width: 70ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px;
  letter-spacing: -0.005em;
  transition: all .2s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn-secondary:hover { background: var(--bg-soft); border-color: var(--ink-300); }
.btn-ghost { color: var(--navy-900); padding: 12px 4px; }
.btn-ghost:hover { color: var(--blue-500); gap: 14px; }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--bg-tint); }
.btn-outline-white { color: #fff; border-color: rgba(255,255,255,.25); }
.btn-outline-white:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Top Nav ---------- */
.topbar {
  background: var(--navy-900);
  color: #d7e0f5;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: 9px 28px; }
.topbar a { opacity: .85; transition: opacity .2s; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar .tb-right { display: flex; gap: 24px; align-items: center; }
.topbar .dot { display: inline-block; width: 6px; height: 6px; background: var(--amber); border-radius: 50%; margin-right: 8px; vertical-align: 1px; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 28px; }
.logo { display: inline-flex; align-items: center; }
.logo-img {
  display: block;
  width: 146px;
  height: auto;
}
.site-footer .logo-img {
  width: 154px;
}
@media (max-width: 720px) {
  .logo-img { width: 124px; }
  .site-footer .logo-img { width: 136px; }
}

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-700);
  transition: all .2s var(--ease); position: relative;
}
.nav-links a:hover { color: var(--navy-900); background: var(--bg-soft); }
.nav-links a.active { color: var(--navy-900); background: var(--bg-soft); }
.nav-links a.has-sub::after { content: ""; display: inline-block; margin-left: 6px; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 420px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0; visibility: hidden;
  transition: all .2s var(--ease);
}
.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-panel a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 10px; transition: background .15s;
}
.dropdown-panel a:hover { background: var(--bg-soft); }
.dropdown-panel .dp-icon {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px;
  background: var(--blue-50); color: var(--blue-500);
  display: grid; place-items: center;
}
.dropdown-panel .dp-title { font-weight: 600; color: var(--navy-900); font-size: 14px; }
.dropdown-panel .dp-sub { color: var(--ink-500); font-size: 12.5px; margin-top: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 120px;
  background: var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 60px; align-items: center;
}
.hero h1 { margin-top: 22px; }
.hero-lede { margin-top: 28px; max-width: 56ch; }
.hero-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges { margin-top: 48px; display: flex; gap: 28px; flex-wrap: wrap; color: var(--ink-500); font-size: 13px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { color: var(--blue-500); }

/* background grid */
.bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10,27,61,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,27,61,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 40%, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 40%, black 40%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }

/* Technical diagram (hero right) */
.hero-diagram {
  position: relative; aspect-ratio: 1/1;
  background: linear-gradient(180deg, #fafcff 0%, #eff3fa 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-diagram .diagram-label {
  position: absolute; top: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--ink-400); letter-spacing: 0.1em; text-transform: uppercase;
  z-index: 3;
}
.hero-diagram .diagram-label .live { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.hero-diagram .diagram-label .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.hero-diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Trust band ---------- */
.trust-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 44px 0;
}
.trust-band .trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.trust-item h4 {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  color: var(--navy-900); margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.trust-item h4 .tnum {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--blue-500); font-weight: 500; letter-spacing: .08em;
}
.trust-item p { font-size: 13.5px; color: var(--ink-500); line-height: 1.55; }

/* ---------- Section header ---------- */
.section-header { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; margin-bottom: 64px; }
.section-header h2 { margin-top: 18px; }
.section-header .sh-right { padding-top: 10px; }
.section-header .sh-right p { color: var(--ink-700); font-size: 17px; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.service-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 32px 32px;
  background: #fff;
  position: relative;
  transition: background .3s var(--ease);
  display: flex; flex-direction: column;
  min-height: 320px;
}
.service-card:nth-child(3n) { border-right: 0; }
.service-card:hover { background: var(--bg-soft); }
.service-card .s-num {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-400); letter-spacing: .08em; margin-bottom: 28px;
}
.service-card .s-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--navy-900); color: #fff;
  display: grid; place-items: center;
  margin-bottom: 22px;
  transition: all .3s var(--ease);
}
.service-card:hover .s-icon { background: var(--blue-500); transform: rotate(-3deg); }
.service-card h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; color: var(--navy-900); margin-bottom: 12px; }
.service-card p { font-size: 14.5px; color: var(--ink-500); line-height: 1.6; flex: 1; }
.service-card .s-link {
  margin-top: 22px;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  color: var(--navy-900); letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .2s var(--ease);
}
.service-card:hover .s-link { gap: 12px; color: var(--blue-500); }

/* ---------- Why us ---------- */
.why-section { background: var(--navy-900); color: #e5ecfb; }
.why-section h2 { color: #fff; }
.why-section .eyebrow { color: var(--blue-300); }
.why-section .section-header .sh-right p { color: #a9b8d8; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.why-card { background: var(--navy-900); padding: 32px; display: flex; flex-direction: column; gap: 14px; min-height: 220px; transition: background .3s; }
.why-card:hover { background: var(--navy-800); }
.why-card .w-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--blue-300); letter-spacing: .08em; }
.why-card h3 { color: #fff; font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; }
.why-card p { font-size: 14px; color: #a9b8d8; line-height: 1.6; }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s var(--ease);
  cursor: pointer;
  display: flex; flex-direction: column;
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.project-thumb {
  aspect-ratio: 4/3; position: relative;
  background: linear-gradient(135deg, #eef2fa 0%, #dfe6f4 100%);
  overflow: hidden;
}
.project-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.project-thumb .p-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--navy-900); letter-spacing: .06em;
}
.project-body { padding: 22px 22px 24px; }
.project-body .p-meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-400); letter-spacing: .08em; margin-bottom: 10px; }
.project-body h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; color: var(--navy-900); margin-bottom: 10px; }
.project-body p { font-size: 14px; color: var(--ink-500); line-height: 1.55; }
.project-body .p-foot { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--blue-500); font-weight: 500; }

/* ---------- Process ---------- */
.process-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process-step {
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  display: grid; grid-template-columns: 80px 1fr;
  gap: 24px;
  padding-right: 48px;
}
.process-step:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 48px; }
.process-step:nth-child(even) { padding-left: 48px; }
.process-step .p-num {
  font-family: 'Fraunces', serif; font-size: 48px; font-weight: 400;
  color: var(--blue-500); line-height: 1;
}
.process-step h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; margin-bottom: 8px; color: var(--navy-900); }
.process-step p { font-size: 14.5px; color: var(--ink-500); line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-900); color: #fff;
  padding: 96px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 70% at 20% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 50%, black 30%, transparent 70%);
}
.cta-band .container { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #a9b8d8; font-size: 17px; margin-top: 16px; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #06122d; color: #a9b8d8; padding: 72px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-grid h4 { color: #fff; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; margin-bottom: 18px; letter-spacing: .02em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid li a { font-size: 14px; color: #a9b8d8; transition: color .2s; }
.footer-grid li a:hover { color: #fff; }
.footer-grid .f-about p { font-size: 14px; line-height: 1.65; color: #a9b8d8; margin-top: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 12.5px; color: #6b7891; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  position: relative; overflow: hidden;
}
.page-hero .bg-grid { mask-image: linear-gradient(to bottom, black 40%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .ph-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; }
.page-hero h1 { font-size: clamp(38px, 4.8vw, 60px); margin-top: 16px; }
.page-hero .ph-lede { margin-top: 22px; font-size: 18px; color: var(--ink-700); max-width: 56ch; }
.breadcrumbs {
  display: flex; gap: 10px; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  color: var(--ink-400); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 6px;
}
.breadcrumbs a { color: var(--ink-400); transition: color .2s; }
.breadcrumbs a:hover { color: var(--navy-900); }
.breadcrumbs .sep { opacity: .4; }
.breadcrumbs .cur { color: var(--navy-900); }

/* ---------- Long content ---------- */
.prose { max-width: 70ch; font-size: 17px; color: var(--ink-700); line-height: 1.75; }
.prose p + p { margin-top: 1.2em; }
.prose h2 { margin-top: 56px; margin-bottom: 18px; }
.prose h3 { margin-top: 36px; margin-bottom: 10px; color: var(--navy-900); font-family: 'Fraunces', serif; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* ---------- Two column ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.two-col .tc-left .eyebrow { margin-bottom: 18px; }
.two-col .tc-left h2 { position: sticky; top: 120px; }

/* ---------- Value grid (about) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value-item { background: #fff; padding: 32px; }
.value-item h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; color: var(--navy-900); margin-bottom: 10px; }
.value-item p { font-size: 14.5px; color: var(--ink-500); line-height: 1.6; }
.value-item .v-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--blue-500); letter-spacing: .08em; margin-bottom: 18px; display: block; }

/* ---------- Service detail ---------- */
.scope-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.scope-item { padding: 22px 0 22px; border-bottom: 1px solid var(--line); padding-right: 32px; display: flex; gap: 16px; align-items: flex-start; }
.scope-item:nth-child(odd) { border-right: 1px solid var(--line); }
.scope-item:nth-child(even) { padding-left: 32px; padding-right: 0; }
.scope-item .s-check {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-500);
  display: grid; place-items: center;
}
.scope-item p { font-size: 15.5px; color: var(--ink-700); }

.audience-list { display: flex; flex-direction: column; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.audience-list li {
  background: #fff; padding: 18px 22px;
  list-style: none;
  display: flex; align-items: center; gap: 14px;
  font-size: 15.5px; color: var(--ink-700);
}
.audience-list li .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); }

.mistakes-list { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mistakes-list li {
  background: #fff; padding: 20px 24px; list-style: none;
  display: flex; align-items: flex-start; gap: 16px;
  font-size: 15px; color: var(--ink-700);
}
.mistakes-list .m-num {
  flex: 0 0 auto; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--warn); letter-spacing: .08em;
  padding-top: 3px;
}

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: 'Fraunces', serif; font-size: 19px; color: var(--navy-900); font-weight: 500;
  transition: color .2s;
}
.faq-q:hover { color: var(--blue-500); }
.faq-q .faq-icon {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: all .3s var(--ease);
}
.faq-item.open .faq-icon { background: var(--navy-900); color: #fff; border-color: var(--navy-900); transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease);
  color: var(--ink-700); font-size: 15.5px; line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }

/* ---------- Projects page ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-700); background: transparent;
  border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--ink-300); color: var(--navy-900); }
.filter-btn.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.contact-info ul { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 22px; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info li .ci-icon {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-50); color: var(--blue-500);
  display: grid; place-items: center;
}
.contact-info li .ci-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-400); letter-spacing: .08em; text-transform: uppercase; }
.contact-info li .ci-val { font-size: 16px; color: var(--navy-900); font-weight: 500; margin-top: 2px; }
.contact-info li .ci-val a:hover { color: var(--blue-500); }

.form-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row.full { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 13px; font-weight: 500; color: var(--ink-700); }
.form-field input, .form-field textarea, .form-field select {
  font: inherit; padding: 14px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff;
  color: var(--ink-900); font-size: 15px;
  transition: all .2s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(61,123,237,.14);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field .err { color: var(--warn); font-size: 12.5px; display: none; }
.form-field.error input, .form-field.error textarea, .form-field.error select { border-color: var(--warn); }
.form-field.error .err { display: block; }

.form-success {
  padding: 28px; border-radius: 12px;
  background: rgba(26,158,106,.1); border: 1px solid rgba(26,158,106,.3);
  color: #0e6e45; font-size: 15px;
  display: flex; align-items: flex-start; gap: 14px;
}

/* ---------- Project detail ---------- */
.project-hero-img {
  aspect-ratio: 16/7; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eef2fa 0%, #dfe6f4 100%);
  border: 1px solid var(--line);
  position: relative; overflow: hidden; margin-top: 40px;
}
.project-meta-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin-top: 48px;
}
.project-meta-grid > div { background: #fff; padding: 22px; }
.project-meta-grid .mg-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--ink-400); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.project-meta-grid .mg-val { font-size: 15px; color: var(--navy-900); font-weight: 500; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.gallery-item {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #eef2fa 0%, #dfe6f4 100%);
  border: 1px solid var(--line);
  position: relative;
}
.gallery-item span {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(255,255,255,.9); padding: 5px 10px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--navy-900); letter-spacing: .06em;
}

/* ---------- Tweaks panel ---------- */
.tweaks-panel {
  position: fixed; bottom: 20px; right: 20px; z-index: 100;
  width: 300px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h5 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; color: var(--ink-500); text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.tweak-row { margin-bottom: 14px; }
.tweak-row label { font-size: 12.5px; color: var(--ink-700); display: block; margin-bottom: 6px; }
.tweak-row .swatches { display: flex; gap: 8px; }
.tweak-row .swatches button { width: 28px; height: 28px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.tweak-row .swatches button.active { border-color: var(--ink-900); }

/* ---------- Animations / page transitions ---------- */
.page { opacity: 1; transition: opacity .25s var(--ease); }
.page.leaving { opacity: 0; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive (basic) ---------- */
@media (max-width: 960px) {
  .hero-grid, .section-header, .cta-band .container, .contact-grid, .two-col, .page-hero .ph-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .why-grid, .projects-grid, .process-list, .scope-grid, .value-grid, .project-meta-grid, .gallery-grid, .footer-grid, .trust-band .trust-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .section { padding: 72px 0; }
  .hero { padding: 60px 0 80px; }
  .form-row { grid-template-columns: 1fr; }
  .process-step:nth-child(odd), .process-step:nth-child(even) { padding: 24px 0; border-right: 0; }
}
@media (max-width: 640px) {
  .services-grid, .why-grid, .projects-grid, .project-meta-grid, .footer-grid, .trust-band .trust-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(3n) { border-right: 0; }
  .service-card { border-right: 0; }
  h1 { font-size: 38px !important; }
}
