*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0b1220;
  --bg-card: #111827;
  --bg-light: #f4f6f9;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --text-dark: #1f2937;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1140px, 100% - 32px);
  margin-inline: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: #fff;
}

.nav__cta {
  color: #fff !important;
  background: var(--primary);
  padding: 10px 18px;
  border-radius: 8px;
}

.nav__cta:hover {
  background: var(--primary-dark);
}

.header__phone {
  font-weight: 700;
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-dark);
}

.btn--light {
  background: #fff;
  color: var(--text-dark);
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(37, 99, 235, 0.18), transparent),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(245, 158, 11, 0.08), transparent),
    linear-gradient(180deg, #0b1220 0%, #111827 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

.hero__label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__text {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero__list {
  list-style: none;
  margin-bottom: 32px;
}

.hero__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: #d1d5db;
}

.hero__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.hero__form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero__form-card h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.hero__form-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Form */
.form__group {
  margin-bottom: 16px;
}

.form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #d1d5db;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: #6b7280;
}

.file-drop {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.file-drop:hover,
.file-drop.dragover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
}

.file-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-drop__content svg {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.file-drop__content p {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.file-drop__content span {
  color: var(--primary);
  font-weight: 600;
}

.file-drop__content small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.file-list {
  list-style: none;
  margin-top: 10px;
}

.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.file-list button {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  cursor: pointer;
}

.checkbox input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.form__status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
}

.form__status.success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.form__status.error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* Sections */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.services {
  padding: 80px 0;
  background: var(--bg-light);
  color: var(--text-dark);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  color: #6b7280;
  font-size: 0.92rem;
}

.about {
  padding: 80px 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.about__text h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about__text p {
  color: var(--text-muted);
  max-width: 560px;
}

.stats {
  display: flex;
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.advantages {
  padding: 80px 0;
  background: #0f172a;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.advantage {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.advantage h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.advantage p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.steps {
  padding: 80px 0;
  background: var(--bg-light);
  color: var(--text-dark);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.step__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: #6b7280;
  font-size: 0.92rem;
}

.cta {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 8px;
}

.cta p {
  opacity: 0.9;
}

/* Footer */
.footer {
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contacts a:hover {
  color: var(--primary);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer__bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .about__inner {
    grid-template-columns: 1fr;
  }

  .stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header__contacts {
    display: none;
  }

  .burger {
    display: flex;
  }

  .cta__inner {
    flex-direction: column;
    text-align: center;
  }
}
