:root {
  --bg: #0b0b0c;
  --bg-alt: #151516;
  --text: #f5f5f5;
  --text-muted: #b4b4b4;
  --accent: #ff5c1f;
  --accent-dark: #d9490f;
  --border: #2a2a2c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/logo.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.07;
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 12px;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 32px;
}

p {
  color: var(--text-muted);
}

a {
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.header-contacts-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.header-contact-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.header-contact-line:hover {
  color: var(--accent);
}

.tg-icon {
  width: 18px;
  height: 18px;
}

.hero {
  padding: 80px 0;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(255, 92, 31, 0.12), transparent 60%);
}

.hero h1 {
  font-size: 2.6rem;
  max-width: 760px;
  margin: 0 auto 16px;
}

.hero-sub {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.slider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.slide-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 92, 31, 0.12);
  color: var(--accent);
  margin-bottom: 12px;
}

.slide-icon svg {
  width: 24px;
  height: 24px;
}

.slide-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 4px;
}

.slide-num::before {
  content: "ЭТАП ";
}

.slide-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.slide p {
  margin: 0;
}

.slider-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.slider-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 600px) {
  .slider-arrow {
    display: none;
  }
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.trust-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 92, 31, 0.12);
  color: var(--accent);
  margin-bottom: 16px;
}

.trust-icon svg {
  width: 28px;
  height: 28px;
}

.trust-card h3 {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.faq {
  max-width: 700px;
  margin: 0 auto;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--bg-alt);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 12px 0 0;
}

.faq-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.faq-list li {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.faq-list li::marker {
  color: var(--accent);
}

.faq-list-numbered {
  list-style: decimal;
}

.form-sub {
  text-align: center;
  margin-bottom: 24px;
}

.lead-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.lead-form button {
  align-self: flex-start;
}

.consent-label {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
}

.consent-label input {
  margin-top: 3px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.consent-label span {
  font-size: 0.85rem;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
}

.form-status.success {
  color: #4caf50;
}

.form-status.error {
  color: #f44336;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
  cursor: pointer;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  padding: 32px;
  max-width: 420px;
  text-align: center;
  cursor: default;
}

.modal-title {
  color: var(--text);
  font-weight: 600;
  margin: 0 0 12px;
}

.modal-sub {
  color: var(--text-muted);
  margin: 0;
  font-weight: 400;
}
