@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/inter-400.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/inter-500.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/inter-600.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/inter-700.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  src: url("fonts/inter-800.ttf") format("truetype");
}

:root {
  --bg: #05070b;
  --panel: #0b111c;
  --panel-2: #101929;
  --text: #eef5ff;
  --muted: #a7b5c8;
  --line: rgba(112, 164, 255, 0.18);
  --blue: #2f8cff;
  --blue-2: #0b2f70;
  --cyan: #60d4ff;
  --ok: #69e6b1;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 0%, rgba(47, 140, 255, 0.18), transparent 32rem),
    linear-gradient(180deg, #05070b 0%, #07101e 42%, #05070b 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 11, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 44px;
  height: 44px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.nav-links a {
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 10px 12px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(47, 140, 255, 0.13);
  color: var(--text);
  outline: none;
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero,
.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 72px 0 56px;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  padding: 12px 18px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), #1555bd);
  color: white;
  box-shadow: 0 16px 40px rgba(47, 140, 255, 0.25);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(96, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(96, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(145deg, rgba(9, 17, 31, 0.96), rgba(10, 31, 67, 0.72));
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(96, 212, 255, 0.18);
  border-radius: var(--radius);
}

.console-window {
  position: absolute;
  top: 48px;
  left: 32px;
  right: 32px;
  border: 1px solid rgba(96, 212, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(3, 8, 16, 0.86);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(96, 212, 255, 0.14);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
}

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

.window-bar span:nth-child(3) {
  background: var(--ok);
}

.console-window code {
  display: grid;
  gap: 12px;
  padding: 18px;
  color: #cae6ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  white-space: normal;
}

.console-window code span:first-child {
  color: var(--ok);
}

.signal-grid {
  position: absolute;
  right: 38px;
  bottom: 40px;
  display: grid;
  grid-template-columns: repeat(4, 58px);
  gap: 12px;
}

.signal-grid span {
  aspect-ratio: 1;
  border: 1px solid rgba(96, 212, 255, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(47, 140, 255, 0.24), rgba(96, 212, 255, 0.04));
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.metric {
  min-height: 116px;
  padding: 22px;
  background: rgba(11, 17, 28, 0.92);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  font-size: 1.02rem;
}

.metric span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 96px 0 0;
}

.section-heading {
  display: grid;
  max-width: 760px;
  gap: 14px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

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

.service-card,
.contact-card,
.contact-form,
.about-panel,
.tabs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 17, 28, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.service-card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 336px;
  padding: 24px;
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(96, 212, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(47, 140, 255, 0.12);
  color: var(--cyan);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #d8e7f8;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.tabs {
  padding: 12px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tab-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  padding: 10px 14px;
}

.tab-button.active,
.tab-button:focus-visible {
  border-color: rgba(96, 212, 255, 0.42);
  background: rgba(47, 140, 255, 0.18);
  color: var(--text);
  outline: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  margin: 0;
}

.gallery-button {
  display: block;
  width: 100%;
  min-height: 250px;
  border: 1px solid rgba(96, 212, 255, 0.24);
  border-radius: var(--radius);
  background: #07101e;
  cursor: zoom-in;
  overflow: hidden;
  padding: 0;
}

.gallery-button img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: filter 180ms ease, transform 180ms ease;
}

.gallery-button:hover img,
.gallery-button:focus-visible img {
  filter: saturate(1.15) brightness(1.08);
  transform: scale(1.025);
}

.gallery-button:focus-visible {
  border-color: rgba(96, 212, 255, 0.74);
  outline: none;
}

.gallery-item figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.about-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  padding: 34px;
}

.about-text p {
  margin: 0;
  color: var(--muted);
}

.profile-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0 0;
}

.profile-list div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.profile-list dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.profile-list dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #d8e7f8;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(112, 164, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(2, 6, 12, 0.82);
  color: var(--text);
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(96, 212, 255, 0.72);
  outline: none;
}

.contact-card {
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-card h3 {
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--cyan);
  font-weight: 800;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.legal-panel {
  display: grid;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 17, 28, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  padding: 34px;
}

.legal-block h3 {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 1.05rem;
}

.legal-block p {
  margin: 0 0 10px;
  color: var(--muted);
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  color: #d8e7f8;
  list-style: none;
}

.legal-block li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.legal-block li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.legal-block li strong {
  color: #d8e7f8;
}

.legal-updated {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 34px;
  color: var(--muted);
  gap: 16px;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer a,
.footer-button {
  color: var(--cyan);
  font-weight: 800;
}

.footer-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.footer-button:focus-visible,
.footer a:focus-visible {
  outline: 2px solid rgba(96, 212, 255, 0.72);
  outline-offset: 4px;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 12, 0.86) 22%);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px;
  width: min(1160px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(96, 212, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(5, 7, 11, 0.96);
  box-shadow: var(--shadow);
  padding: 22px;
}

.cookie-panel h2 {
  font-size: 1.35rem;
}

.cookie-panel p:not(.eyebrow) {
  max-width: 820px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 12, 0.82);
  cursor: zoom-out;
}

.lightbox-dialog {
  position: relative;
  width: min(960px, 100%);
  border: 1px solid rgba(96, 212, 255, 0.3);
  border-radius: var(--radius);
  background: #05070b;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lightbox-dialog img {
  display: block;
  width: 100%;
  max-height: min(72vh, 720px);
  object-fit: contain;
  background: #07101e;
}

.lightbox-dialog p {
  margin: 0;
  border-top: 1px solid var(--line);
  color: #d8e7f8;
  font-weight: 800;
  padding: 14px 16px;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 7, 11, 0.78);
  color: var(--text);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-close:focus-visible {
  border-color: rgba(96, 212, 255, 0.74);
  outline: none;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 7, 11, 0.96);
    padding: 8px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .strip,
  .services-grid,
  .gallery-grid,
  .about-panel,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .about-panel,
  .contact-layout {
    gap: 16px;
  }

  .section {
    padding-top: 72px;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1160px);
  }

  .brand small {
    display: none;
  }

  .hero,
  .section,
  .footer {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    gap: 32px;
    padding: 42px 0 36px;
  }

  h1 {
    font-size: clamp(2.3rem, 13vw, 3.5rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 340px;
  }

  .console-window {
    top: 24px;
    left: 18px;
    right: 18px;
  }

  .signal-grid {
    right: 22px;
    bottom: 22px;
    grid-template-columns: repeat(4, 1fr);
    width: calc(100% - 44px);
  }

  .strip,
  .services-grid,
  .gallery-grid,
  .about-panel,
  .profile-list,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .gallery-button {
    min-height: 210px;
  }

  .gallery-button img {
    height: 210px;
  }

  .lightbox {
    padding: 12px;
  }

  .about-panel,
  .contact-form,
  .contact-card,
  .legal-panel {
    padding: 20px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links,
  .cookie-panel,
  .cookie-actions {
    width: 100%;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
