:root {
  --bg: #020817;
  --bg-soft: #071326;
  --bg-deep: #010510;
  --panel: rgba(9, 20, 40, 0.72);
  --panel-strong: rgba(8, 18, 36, 0.92);
  --line: rgba(120, 215, 255, 0.16);
  --line-strong: rgba(89, 231, 255, 0.28);
  --text: #ecf7ff;
  --muted: #9db2c9;
  --cyan: #59e7ff;
  --cyan-2: #1fcfff;
  --blue: #1d4ed8;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(31, 207, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.18), transparent 22%),
    linear-gradient(180deg, #03101f 0%, #020817 55%, #010510 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}

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

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

header,
main,
footer {
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(2, 8, 23, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-wrap,
.hero,
.services-preview,
.services-section,
.about,
.contact,
.footer-wrap {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
  position: relative;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(89, 231, 255, 0.24);
  background: linear-gradient(135deg, rgba(89, 231, 255, 0.18), rgba(29, 78, 216, 0.16));
  box-shadow: 0 0 30px rgba(89, 231, 255, 0.15);
}

header h1 {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffffff;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  padding: 0;
  margin: 0;
}

nav a {
  color: #d7e9f8;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--cyan);
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

#menu-toggle {
  display: none;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 84px 0;
}

.hero-text {
  max-width: 760px;
  position: relative;
  z-index: 2;
}


.hero-text h2 {
  margin: 0 0 16px;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: white;
}

.hero-text h2 span,
.section-title span {
  color: var(--cyan);
}

.hero-text p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.cta-button:hover {
  transform: translateY(-1px);
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--cyan), #b1f6ff);
  color: #04111e;
  box-shadow: 0 18px 40px rgba(89, 231, 255, 0.18);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: white;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 23, 46, 0.95), rgba(5, 14, 28, 0.96));
  box-shadow: var(--shadow);
  min-height: 520px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 8, 23, 0.12), rgba(89, 231, 255, 0.08));
  z-index: 1;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.section-kicker {
  color: var(--cyan);
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 14px;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
  color: white;
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.stat-card,
.teaser,
.service-card,
.about-card,
.contact-box,
form {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 20, 40, 0.72);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.stat-card small {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.stat-card strong {
  font-size: 1.35rem;
  color: var(--cyan);
}

.mini-panel {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(89, 231, 255, 0.12);
  background: rgba(89, 231, 255, 0.06);
}

.mini-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.mini-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  font-size: 0.9rem;
}

section {
  padding: 84px 0;
}

.teaser-container,
.service-grid,
.about-content,
.contact-container {
  display: grid;
  gap: 18px;
}

.teaser-container {
  grid-template-columns: repeat(3, 1fr);
}

.service-grid.detailed-services {
  grid-template-columns: repeat(3, 1fr);
}

.about-content {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.contact-container {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.teaser,
.service-card {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.teaser:hover,
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(89, 231, 255, 0.22);
  background: rgba(16, 36, 70, 0.78);
}

.teaser img,
.service-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 12px rgba(89, 231, 255, 0.22));
}

.teaser h3,
.service-card h3,
.about-card h3 {
  margin: 0 0 8px;
  color: white;
}

.teaser p,
.service-card p,
.about-panel p,
.about-card p,
.contact-box p,
label {
  color: var(--muted);
}

.more-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--cyan);
  font-weight: 700;
}

.section-action {
  margin-top: 22px;
}

.about-panel {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 28, 55, 0.88), rgba(5, 13, 28, 0.92));
  box-shadow: var(--shadow);
}

.about-card-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.service-points {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-points li {
  margin-bottom: 8px;
}

.contact-box a {
  color: white;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-weight: 600;
  font-size: 0.94rem;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 1px solid rgba(89, 231, 255, 0.5);
  border-color: rgba(89, 231, 255, 0.4);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

button {
  margin-top: 8px;
  padding: 14px 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cyan), #b1f6ff);
  color: #04111e;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(2, 8, 23, 0.8);
  backdrop-filter: blur(10px);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

footer a {
  color: var(--cyan);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero,
  .teaser-container,
  .service-grid.detailed-services,
  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .menu-icon {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 13, 28, 0.98);
    border-radius: 20px;
    padding: 18px;
  }

  nav ul {
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  #menu-toggle:checked + .menu-icon + nav {
    display: block;
  }

  .hero-text h2 {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }
}

@media (max-width: 640px) {
  section,
  .hero {
    padding: 64px 0;
  }

  .header-wrap {
    padding: 14px 0;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
