:root {
  --bg: #0a0c10;
  --bg-2: #10141b;
  --card: #141922;
  --card-2: #1a202b;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3f5f8;
  --muted: #a3acba;
  --blue: #2f6bff;
  --blue-2: #5b8cff;
  --cyan: #59c8ff;
  --radius: 18px;
  --radius-sm: 12px;
  --head: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.14; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1f4fd6);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(47, 107, 255, .8);
}
.btn-primary:hover { box-shadow: 0 16px 36px -12px rgba(47, 107, 255, .95); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue-2); background: rgba(47, 107, 255, .08); }
.btn-lg { padding: .95em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 16, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }
.brand img { width: 38px; height: 38px; }
.brand b { font-weight: 800; color: var(--blue-2); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: #fff; padding: .6em 1.1em; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hex pattern */
.hex-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='146' viewBox='0 0 84 146'%3E%3Cg fill='none' stroke='%235b8cff' stroke-opacity='.16' stroke-width='1.2'%3E%3Cpath d='M42 1 83 24.5v48L42 96 1 72.5v-48z'/%3E%3Cpath d='M42 96v50M0 145.5 42 121l42 24.5' /%3E%3C/g%3E%3C/svg%3E");
  background-size: 84px 146px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 0%, transparent 75%);
}
.hex-bg-soft { opacity: .35; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 0%, transparent 75%); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, .32), transparent 65%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; font-weight: 600; color: var(--cyan); background: rgba(89, 200, 255, .08); border: 1px solid rgba(89, 200, 255, .22); padding: .45em .95em; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.04; }
.grad { background: linear-gradient(100deg, #fff 0%, var(--blue-2) 45%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 560px; }
.hero-facts li { border: 1px solid var(--line); background: rgba(255, 255, 255, .025); border-radius: var(--radius-sm); padding: 14px 16px; }
.hero-facts b { display: block; font-family: var(--head); font-size: 1.35rem; font-weight: 800; }
.hero-facts span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(47, 107, 255, .15); }
.hero-badge { position: absolute; left: -26px; bottom: 34px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: rgba(16, 20, 27, .88); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.hero-badge > .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(47, 107, 255, .18); color: var(--blue-2); }
.hero-badge b { display: block; font-size: .95rem; }
.hero-badge span { display: block; font-size: .82rem; color: var(--muted); }

/* brands */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.brands-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.brands p { color: var(--muted); font-size: .92rem; }
.brands ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; flex-wrap: wrap; }
.brands li { font-family: var(--head); font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; text-transform: uppercase; color: #d7dce5; opacity: .8; }

/* sections */
.section { position: relative; padding: 92px 0; overflow: hidden; }
.section-tight { padding-top: 40px; }
.section-dark { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 680px; margin-bottom: 48px; position: relative; }
.head > p:not(.kicker) { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }
.head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.head-row > p { max-width: 420px; margin: 0; color: var(--muted); }
.head-row a:not(.btn) { color: var(--blue-2); }
.kicker { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--blue-2); margin-bottom: 12px; }

/* services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service { display: grid; grid-template-columns: 210px 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s; }
.service:hover { border-color: rgba(91, 140, 255, .45); transform: translateY(-3px); }
.service-img { position: relative; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 26px 26px 24px; }
.service-body p { color: var(--muted); margin-top: 10px; font-size: .97rem; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: rgba(47, 107, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235b8cff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 10px 20px; }

.mini-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.mini { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); }
.mini-ico, .why-ico, .c-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(47, 107, 255, .14); color: var(--blue-2); }
.mini-ico .icon, .why-ico .icon, .c-ico .icon { width: 20px; height: 20px; }
.mini h3 { font-size: 1.02rem; }
.mini p { color: var(--muted); font-size: .9rem; margin-top: 4px; line-height: 1.5; }

/* feature */
.feature { position: relative; padding: 104px 0; background: radial-gradient(ellipse 60% 80% at 15% 50%, rgba(255, 196, 0, .08), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.feature-media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.fm { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; position: relative; }
.fm img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s; }
.fm:hover img { transform: scale(1.04); }
.fm-main { grid-row: span 2; }
.feature-text p:not(.kicker) { color: var(--muted); margin-top: 18px; font-size: 1.06rem; }
.feature-text h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
.feature-text .ticks { margin: 26px 0 30px; }

/* projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.project:hover { border-color: rgba(91, 140, 255, .45); transform: translateY(-3px); }
.project-img { position: relative; display: block; padding: 0; border: 0; background: #000; cursor: zoom-in; overflow: hidden; }
.project-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.project:hover .project-img img { transform: scale(1.05); }
.count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(10, 12, 16, .75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: .82rem; font-weight: 600; }
.project-body { padding: 22px 22px 24px; }
.project-body p { color: var(--muted); font-size: .95rem; margin-top: 8px; }
.tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(47, 107, 255, .12); color: #bcd0ff; }
.project-cta { justify-content: center; padding: 32px; background: radial-gradient(circle at 80% 0%, rgba(47, 107, 255, .35), transparent 60%), var(--card-2); border-color: rgba(91, 140, 255, .35); }
.project-cta h3 { font-size: 1.55rem; }
.project-cta p { color: var(--muted); margin: 12px 0 24px; }

/* why */
.why-section { background: var(--bg); }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.why-item { padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.why-item h3 { margin-top: 18px; }
.why-item p { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--card), transparent); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -18px; width: 18px; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); }
.step-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-family: var(--head); font-weight: 800; font-size: 1.2rem; background: linear-gradient(135deg, var(--blue), #1f4fd6); box-shadow: 0 10px 24px -10px rgba(47, 107, 255, .9); }
.steps h3 { margin-top: 18px; }
.steps p { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 12px; }
.g { padding: 0; border: 0; background: #000; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; }
.g img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s, opacity .3s; }
.g:hover img { transform: scale(1.05); opacity: .9; }
.g-big { grid-column: span 2; grid-row: span 2; }

/* faq */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.faq-grid .head { margin-bottom: 0; position: sticky; top: 110px; }
.faq-grid .head .btn { margin-top: 26px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); transition: border-color .2s; }
.faq details[open] { border-color: rgba(91, 140, 255, .4); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--blue-2); border-bottom: 2px solid var(--blue-2); transform: rotate(45deg); transition: transform .25s, margin .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* contact */
.contact-section { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-info > p:not(.kicker) { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list small { display: block; font-size: .8rem; color: var(--muted); }
.contact-list a, .contact-list span { font-weight: 600; font-size: 1.05rem; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--blue-2); }
.form { padding: 32px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.form h3 { font-size: 1.4rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: #cfd5df; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23a3acba' stroke-width='2' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 107, 255, .2); }
.field ::placeholder { color: #6b7483; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 20px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue-2); }
.form-msg { display: none; margin-top: 14px; font-size: .95rem; }
.form-msg.ok { display: block; color: #6ee7a8; }
.form-msg.err { display: block; color: #ff8a8a; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--bg); }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin-top: 14px; font-size: .95rem; max-width: 300px; }
.footer-nav, .footer-contact { display: grid; gap: 10px; align-content: start; }
.footer-nav a, .footer-contact a { color: var(--muted); text-decoration: none; font-size: .95rem; display: inline-flex; align-items: center; gap: 10px; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 48px) 1px no-repeat; font-size: .88rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }

/* mobile callbar */
.callbar { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 6, 9, .94); display: flex; align-items: center; justify-content: center; padding: 24px 80px; }
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lb-fig figcaption { margin-top: 14px; color: var(--muted); font-size: .95rem; text-align: center; }
.lb-close, .lb-nav { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(20, 25, 34, .8); cursor: pointer; }
.lb-close .icon, .lb-nav .icon { width: 24px; height: 24px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { border-color: var(--blue-2); }

body.lb-open .callbar { display: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .services { grid-template-columns: 1fr; }
  .mini-services { grid-template-columns: repeat(2, 1fr); }
  .why, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .projects { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 12, 16, .98); border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .nav .nav-cta { margin-top: 18px; border-bottom: 0; padding: .9em 1.2em; }
  .hero { padding: 44px 0 64px; }
  .hero-grid, .feature-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 560px; }
  .hero-badge { left: 14px; bottom: 14px; }
  .faq-grid .head { position: static; }
  .feature { padding: 80px 0; }
  .section { padding: 80px 0; }
  .section-tight { padding-top: 32px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { padding: 0 16px; }
  .header-in { height: 64px; }
  .nav { top: 64px; padding: 8px 16px 20px; max-height: calc(100vh - 64px); }
  html { scroll-padding-top: 70px; }
  .brand { font-size: 1.08rem; }
  .brand img { width: 34px; height: 34px; }
  .hero { padding: 32px 0 56px; }
  .lead { font-size: 1.05rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 30px; }
  .hero-facts li { padding: 12px 10px; }
  .hero-facts b { font-size: 1.05rem; }
  .hero-facts span { font-size: .76rem; }
  .hero-media img { border-radius: 20px; }
  .hero-badge { padding: 10px 12px; gap: 10px; }
  .hero-badge > .icon { width: 30px; height: 30px; padding: 6px; }
  .brands-in { justify-content: center; text-align: center; }
  .brands ul { gap: 14px 24px; justify-content: center; }
  .brands li { font-size: 1rem; }
  .head { margin-bottom: 32px; }
  .service { grid-template-columns: 1fr; }
  .service-img img { aspect-ratio: 16 / 10; height: auto; }
  .service-body { padding: 22px 20px; }
  .mini-services { grid-template-columns: 1fr; gap: 12px; }
  .feature-media { gap: 10px; }
  .ticks.two { grid-template-columns: 1fr; }
  .projects, .why, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { background-size: calc(100% - 32px) 1px; }
  .callbar {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 60;
    padding: 15px; border-radius: 999px; text-decoration: none; font-weight: 700;
    background: linear-gradient(135deg, var(--blue), #1f4fd6); color: #fff;
    box-shadow: 0 14px 30px -10px rgba(47, 107, 255, .9);
  }
  .lightbox { padding: 70px 10px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 62px); }
  .lb-next { right: calc(50% - 62px); }
  .lb-fig img { max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
