:root {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --bg-alt: #0f1418;
  --text: #f2f4f6;
  --muted: #8a8a8a;
  --accent: #00aeef;
  --accent-dim: rgba(0, 174, 239, 0.15);
  --line: rgba(255, 255, 255, 0.08);
  --danger: #ff6b6b;
  --radius: 12px;
  --font-he: "Heebo", system-ui, sans-serif;
  --font-en: "Space Grotesk", system-ui, sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-he);
  line-height: 1.55;
  overflow-x: hidden;
}

html[lang="en"] body {
  font-family: var(--font-en);
}

html[lang="en"] .brand-text,
html[lang="en"] .hero-title,
html[lang="en"] .section-title {
  font-family: var(--font-en);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(0, 174, 239, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 40%, rgba(0, 174, 239, 0.08), transparent 50%);
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 10, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-btn.is-active {
  background: var(--accent-dim);
  color: var(--accent);
}

.phone-cta {
  display: none;
}

@media (min-width: 900px) {
  .phone-cta {
    display: inline-flex;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #041018;
  box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0, 174, 239, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: rgba(0, 174, 239, 0.45);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: rgba(0, 174, 239, 0.4);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(3.5rem, 10vw, 6rem);
  text-align: center;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(260px, 70vw);
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 40px rgba(0, 174, 239, 0.25));
  animation: logoFloat 6s var(--ease) infinite alternate;
}

@keyframes logoFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.hero-title {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-tagline {
  margin: 0.75rem 0 0;
  color: var(--accent);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 600;
}

.hero-sub {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, var(--bg-alt) 20%, var(--bg-alt) 80%, transparent);
}

.section-title {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0.6rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}

/* Process */
.process-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, background 0.25s;
}

.process-step:hover {
  border-color: rgba(0, 174, 239, 0.35);
  background: var(--accent-dim);
}

.process-step--accent {
  border-color: rgba(0, 174, 239, 0.45);
  background: var(--accent-dim);
}

.step-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}

@media (min-width: 720px) {
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step--accent {
    grid-column: 1 / -1;
  }
}

/* Services — interaction list, not card chrome */
.services-grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .service:nth-child(odd) {
    padding-inline-end: 1rem;
  }
}

.service h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service:hover h3 {
  color: var(--accent);
}

/* Support form */
.support-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .support-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 3.5rem;
  }
}

.support-hints {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

.support-hints li::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-inline-end: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

.support-form {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-elevated);
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0a0a0a;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--danger);
}

.field-error {
  min-height: 1.1em;
  font-size: 0.8rem;
  color: var(--danger);
}

.form-status {
  min-height: 1.4em;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--accent);
}

.form-status.is-error {
  color: var(--danger);
}

/* Contact */
.contact-block {
  text-align: center;
}

.contact-block .section-title {
  margin-bottom: 1.5rem;
}

.phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-family: var(--font-en);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.phones a {
  color: var(--muted);
  transition: color 0.2s;
}

.phones a:hover,
.phones-accent {
  color: var(--accent) !important;
}

.contact-email {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--text);
  border-bottom: 1px solid rgba(0, 174, 239, 0.4);
  transition: color 0.2s, border-color 0.2s;
}

.contact-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-inner img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.85;
}

.footer-inner p {
  margin: 0;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-logo {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
