:root {
  color-scheme: dark;
  --bg: #07110f;
  --bg-2: #0d1717;
  --panel: rgba(15, 24, 24, 0.76);
  --panel-strong: rgba(8, 17, 16, 0.94);
  --text: #edf7f3;
  --muted: #9fb8b1;
  --line: rgba(120, 255, 202, 0.18);
  --green: #43f59c;
  --green-2: #10b981;
  --cyan: #42d7ff;
  --amber: #e2b45c;
  --danger: #ff5d5d;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 12px 38px rgba(0, 0, 0, 0.28);
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(67, 245, 156, 0.12), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(66, 215, 255, 0.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 28px), 1240px);
  min-height: 72px;
  margin: 14px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(5, 12, 12, 0.58);
  backdrop-filter: blur(18px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 12, 12, 0.9);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(67, 245, 156, 0.36));
}

.brand strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 6px;
  color: #dcebe6;
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover {
  background: rgba(67, 245, 156, 0.09);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.section-dark {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  padding: 130px 20px 72px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(90deg, rgba(5, 9, 10, 0.72), rgba(5, 9, 10, 0.35) 44%, rgba(5, 9, 10, 0.55)), url("images/hero-lab.png") center / cover no-repeat;
  transform: scale(1.01);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 30%;
  background: linear-gradient(transparent, var(--bg));
}

.circuit {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(67, 245, 156, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 245, 156, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 76%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 38px;
  width: min(100%, var(--max));
  min-height: calc(100svh - 210px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(42px, 4.9vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(28px, 3.45vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
}

.hero-text {
  max-width: 610px;
  color: #d6e6e0;
  font-size: clamp(18px, 2.2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #03100e;
  box-shadow: 0 16px 44px rgba(67, 245, 156, 0.22);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(11, 23, 22, 0.76), rgba(8, 16, 15, 0.92));
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(67, 245, 156, 0.18), transparent 42%);
  pointer-events: none;
}

.hero-logo {
  position: relative;
  width: 190px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 26px rgba(67, 245, 156, 0.45));
}

.hero-panel p {
  position: relative;
  margin: 20px 0 0;
  color: var(--muted);
  text-align: center;
}

.signal {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.signal span {
  height: 4px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 20px rgba(67, 245, 156, 0.7);
}

.signal span:nth-child(2) {
  background: var(--cyan);
}

.signal span:nth-child(3) {
  background: var(--amber);
}

.quickbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(calc(100% - 28px), var(--max));
  margin: -38px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 16, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quickbar > * {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 0 12px;
  min-width: 0;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.quickbar > *:last-child {
  border-right: 0;
}

.quickbar strong,
.quickbar small {
  min-width: 0;
}

.quickbar strong {
  grid-column: 2;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}

.phone-link {
  grid-column: 2;
  min-width: 0;
}

.quickbar small {
  grid-column: 2;
  color: var(--muted);
  white-space: nowrap;
}

.messengers {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 2px;
}

.mini-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mini-icon:hover {
  transform: translateY(-1px);
  border-color: var(--line);
  background: rgba(67, 245, 156, 0.09);
}

.mini-icon::before {
  content: "";
  width: 15px;
  height: 15px;
  background: var(--mini-color, var(--green));
  mask: var(--mini-mask) center / contain no-repeat;
}

.viber {
  --mini-color: #a78bfa;
  --mini-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M17.5 2.8A18 18 0 0 0 6.6 2.6C3.7 3.4 2 5.5 1.7 8.5a27 27 0 0 0 .2 6.3c.3 2.1 1.6 3.7 3.6 4.6v2.7c0 .7.8 1 1.3.5l2.8-2.4c2.7.2 5.2 0 7.6-.6 2.7-.8 4.4-2.8 4.8-5.6.3-2.2.3-4.4 0-6.5-.4-2.5-1.9-4-4.5-4.7Zm-5.7 2.4c2.7 0 5 2.2 5 5 0 .4-.3.7-.7.7s-.7-.3-.7-.7a3.6 3.6 0 0 0-3.6-3.6c-.4 0-.7-.3-.7-.7s.3-.7.7-.7Zm0 2.4a2.6 2.6 0 0 1 2.6 2.6c0 .4-.3.7-.7.7s-.7-.3-.7-.7c0-.7-.5-1.2-1.2-1.2-.4 0-.7-.3-.7-.7s.3-.7.7-.7Zm4.6 8.1c-.4.7-1.3 1.5-2.1 1.2-3.4-1.2-5.9-3.7-7.1-7.1-.3-.8.5-1.7 1.2-2.1.4-.2.8-.1 1.1.2l1 1.3c.3.4.3.9-.1 1.2l-.4.4c.5 1.1 1.4 2 2.5 2.5l.4-.4c.3-.4.8-.4 1.2-.1l1.3 1c.3.3.4.7.2 1.1Z'/%3E%3C/svg%3E");
}

.telegram-mini {
  --mini-color: #42d7ff;
  --mini-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M21.7 4.3 18.4 20c-.25 1.1-.9 1.35-1.82.84l-5-3.7-2.42 2.33c-.27.27-.5.5-1.02.5l.36-5.1L17.8 6.5c.4-.36-.09-.56-.62-.2L5.66 13.55.7 12c-1.08-.34-1.1-1.08.23-1.6L20.3 2.94c.9-.33 1.68.2 1.39 1.36z'/%3E%3C/svg%3E");
}

.whatsapp {
  --mini-color: #43f59c;
  --mini-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a9.8 9.8 0 0 0-8.4 14.9L2.4 22l5.2-1.2A9.8 9.8 0 1 0 12 2Zm0 17.9c-1.5 0-3-.4-4.2-1.2l-.3-.2-3 .7.7-2.9-.2-.3A8.1 8.1 0 1 1 12 19.9Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.6 6.6 0 0 1-3.3-2.9c-.1-.2 0-.4.1-.5l.4-.5c.1-.2.2-.3.3-.5.1-.2 0-.4 0-.5l-.8-1.9c-.2-.5-.4-.4-.6-.4h-.5c-.2 0-.5.1-.7.3-.3.3-1 1-1 2.4s1 2.8 1.2 3c.1.2 2 3.2 5 4.3 2.5.9 3 .7 3.6.7.6-.1 1.8-.7 2-1.4.3-.7.3-1.3.2-1.4 0-.1-.2-.2-.4-.3Z'/%3E%3C/svg%3E");
}

.icon,
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(67, 245, 156, 0.08);
}

.icon::before,
.service-icon::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--green);
  mask: var(--mask) center / contain no-repeat;
}

.phone { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.32 1.78.6 2.63a2 2 0 0 1-.45 2.11L8 9.72a16 16 0 0 0 6.28 6.28l1.26-1.26a2 2 0 0 1 2.11-.45c.85.28 1.73.48 2.63.6A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.telegram { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M21.7 4.3 18.4 20c-.25 1.1-.9 1.35-1.82.84l-5-3.7-2.42 2.33c-.27.27-.5.5-1.02.5l.36-5.1L17.8 6.5c.4-.36-.09-.56-.62-.2L5.66 13.55.7 12c-1.08-.34-1.1-1.08.23-1.6L20.3 2.94c.9-.33 1.68.2 1.39 1.36z'/%3E%3C/svg%3E"); }
.pin { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.clock { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.mail { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }

.section {
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto;
  padding: 104px 0;
}

.section-head {
  margin-bottom: 34px;
}

.intro-grid,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 38px;
}

.contact-layout {
  align-items: start;
}

.contact .section-head h2 {
  max-width: 620px;
  font-size: clamp(30px, 3.1vw, 42px);
}

.intro-copy {
  color: #cfe0da;
  font-size: 19px;
}

.intro-copy p {
  max-width: 760px;
}

.metrics {
  display: grid;
  gap: 12px;
}

.metrics div,
.service-card,
.step {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(6, 14, 14, 0.62);
  box-shadow: var(--shadow-soft);
}

.metrics div {
  padding: 22px;
}

.metrics strong {
  display: block;
  color: var(--green);
  font-size: 38px;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 248px;
  overflow: hidden;
  padding: 0 22px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card > img {
  width: calc(100% + 44px);
  height: 136px;
  margin: 0 -22px 20px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  filter: saturate(0.92) contrast(1.05);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(67, 245, 156, 0.08), rgba(255, 255, 255, 0.025));
}

.service-card p,
.step p,
.contact .section-head p,
.bot-card p {
  color: var(--muted);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}

.chip { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='M9 1v3M15 1v3M9 20v3M15 20v3M20 9h3M20 14h3M1 9h3M1 14h3M10 10h4v4h-4z'/%3E%3C/svg%3E"); }
.gpu { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='16' height='10' rx='2'/%3E%3Cpath d='M19 10h2v4h-2M7 7V4M11 7V4M7 17v3M11 17v3'/%3E%3Ccircle cx='10' cy='12' r='2.5'/%3E%3Cpath d='M15 10h1M15 14h1'/%3E%3C/svg%3E"); }
.build { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4L15 12l-3-3z'/%3E%3C/svg%3E"); }
.shield { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E"); }

.work-strip {
  padding: 104px 20px;
  background:
    linear-gradient(180deg, rgba(5, 12, 12, 0.7), rgba(5, 12, 12, 0.94)),
    radial-gradient(circle at 0 0, rgba(66, 215, 255, 0.15), transparent 28rem),
    var(--bg-2);
}

.work-strip .section-head,
.gallery {
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 218px;
  gap: 14px;
}

.gallery-item {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0;
  background: #0b0f10;
  cursor: zoom-in;
  box-shadow: var(--shadow-soft);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.12) contrast(1.05);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  min-height: 205px;
  overflow: hidden;
  padding: 0 22px 22px;
}

.step img {
  width: calc(100% + 44px);
  height: 122px;
  margin: 0 -22px 18px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  filter: saturate(0.88) contrast(1.04);
}

.step span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.bot-section {
  padding: 32px 20px;
}

.bot-card {
  display: grid;
  grid-template-columns: 330px 1fr 260px;
  gap: 30px;
  align-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(67, 245, 156, 0.1), rgba(226, 180, 92, 0.055)),
    rgba(8, 17, 16, 0.92);
}

.bot-photo {
  overflow: hidden;
  align-self: stretch;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: #07110f;
}

.bot-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.06);
}

.bot-card h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.bot-link {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 180px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.bot-link .icon {
  width: 58px;
  height: 58px;
}

.bot-link small {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 12px;
  grid-column: 1;
  grid-template-columns: 1fr;
  align-self: start;
}

.contact-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
  overflow: hidden;
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #0b0f10;
  box-shadow: var(--shadow-soft);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.contact-list > a,
.contact-list > .contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-list .contact-item {
  grid-template-columns: 42px minmax(0, 1fr);
}

.contact-list .phone-link {
  grid-column: 2;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.contact-list .messengers {
  grid-column: 2;
  margin-top: 6px;
}

.contact-list strong {
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 42px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  text-align: center;
}

.site-footer img {
  width: 60px;
  filter: drop-shadow(0 0 18px rgba(67, 245, 156, 0.28));
}

.site-footer p {
  margin-bottom: 0;
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox[aria-hidden="false"] {
  display: grid;
}

.lightbox img {
  max-height: min(86vh, 980px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.lightbox button::before,
.lightbox button::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 12px;
  width: 22px;
  height: 2px;
  background: #fff;
}

.lightbox button::before {
  transform: rotate(45deg);
}

.lightbox button::after {
  transform: rotate(-45deg);
}

@media (max-width: 980px) {
  .hero-inner,
  .intro-grid,
  .contact-layout,
  .bot-card {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-panel {
    max-width: 420px;
  }

  .quickbar,
  .service-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .quickbar strong,
  .quickbar small {
    white-space: normal;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .contact-photo,
  .contact-list {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    margin-top: 10px;
  }

  .brand img {
    width: 39px;
    height: 44px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 12, 12, 0.96);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 46px;
  }

  .hero {
    min-height: auto;
    padding: 112px 14px 70px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  h1 span {
    white-space: normal;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .quickbar {
    grid-template-columns: 1fr;
    margin-top: -24px;
  }

  .quickbar > * {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .quickbar > *:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 76px 0;
  }

  .service-grid,
  .steps,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-auto-rows: 260px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .bot-card {
    padding: 24px;
  }

  .bot-photo,
  .contact-photo {
    min-height: 220px;
  }

  .contact .section-head h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .contact-list .phone-link {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
