:root {
  --bg: #06070b;
  --bg-soft: #10131b;
  --card: #111623;
  --text: #f3f6ff;
  --muted: #a5afc2;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #2457ff;
  --accent-hover: #3c6cff;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(36, 87, 255, 0.2), transparent 32%),
    linear-gradient(180deg, #05060a 0%, #080b12 100%);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 50px;
}

.hero__content {
  width: 100%;
  max-width: 920px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: #7ea1ff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
}

.hero__text {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: 20px;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 70px;
}

.card {
  background: rgba(17, 22, 35, 0.88);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.intro-grid,
.service-grid,
.contact-section {
  display: grid;
  gap: 22px;
}

.intro-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.service-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 22px;
}

.contact-section {
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
}

h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.2;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

p {
  margin: 0;
  color: var(--muted);
}

.section-lead {
  max-width: 700px;
}

.highlight {
  text-align: center;
}

.contact-copy p {
  max-width: 440px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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.04);
  color: var(--text);
  font-size: 16px;
}

input::placeholder,
textarea::placeholder {
  color: #93a0bb;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--accent);
  color: white;
}

.button--primary:hover {
  background: var(--accent-hover);
  cursor: pointer;
}

.button--secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}

.button--full {
  width: 100%;
}

footer {
  padding: 16px 20px 40px;
  text-align: center;
  color: #6f7a92;
  font-size: 14px;
}

.contact-cta {
  display: grid;
  gap: 22px;
  align-items: center;
  justify-items: start;
}

.contact-cta__actions {
  width: 100%;
}

.contact-page-wrap {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.contact-page-card {
  width: 100%;
}

.page-title {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.back-link-wrap {
  margin-top: 18px;
}

@media (max-width: 860px) {
  .intro-grid,
  .service-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero__text {
    font-size: 18px;
  }
}
