*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #f3f4f6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(10px);
  color: #f9fafb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 24px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f97316, #facc15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #111827;
  font-size: 18px;
}

.logo-title {
  font-weight: 600;
  font-size: 15px;
}

.logo-subtitle {
  font-size: 12px;
  color: #d1d5db;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-list a:hover {
  background-color: rgba(249, 250, 251, 0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(156, 163, 175, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  width: 16px;
  border-radius: 999px;
  background-color: #e5e7eb;
  margin: 0 auto;
}

.hero {
  padding: 72px 0 56px;
  background: radial-gradient(circle at top left, #fef3c7 0, #f3f4f6 50%, #e5e7eb 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  font-size: 13px;
  font-weight: 600;
  color: #ea580c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-text {
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #111827;
  box-shadow: 0 10px 20px rgba(248, 181, 61, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(248, 181, 61, 0.55);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.8);
  border-color: #d1d5db;
  color: #111827;
}

.btn-outline:hover {
  background-color: #111827;
  color: #f9fafb;
  border-color: #111827;
}

.btn-secondary {
  background-color: #111827;
  color: #f9fafb;
  border-color: #111827;
}

.btn-secondary:hover {
  background-color: #020617;
  border-color: #020617;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #4b5563;
}

.hero-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(209, 213, 219, 0.7);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  background: #111827;
  color: #f9fafb;
  border-radius: 24px;
  padding: 22px 22px 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.5);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top right, rgba(248, 181, 61, 0.35), transparent 60%);
  opacity: 0.9;
}

.hero-card-title {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-card-list {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.hero-card-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #facc15);
}

.section {
  padding: 64px 0;
}

.section-alt {
  background-color: #ffffff;
}

.section-accent {
  background: radial-gradient(circle at top left, #fee2e2 0, #fef9c3 50%, #e5e7eb 100%);
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  max-width: 650px;
}

.section-header-center {
  text-align: center;
}

.section-header-center p {
  margin-left: auto;
  margin-right: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Анимации появления секций */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-left"] {
  transform: translateX(24px);
}

[data-animate="fade-left"].in-view {
  transform: translateX(0);
}

.about-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.28);
  border: 1px solid #e5e7eb;
}

.about-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.about-card p {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tab-button {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background-color: #f9fafb;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  color: #374151;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.tab-button.active {
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #111827;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(248, 181, 61, 0.4);
}

.tab-panels {
  margin-top: 4px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  background-color: #f9fafb;
  border-radius: 18px;
  padding: 16px 16px 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 16px rgba(148, 163, 184, 0.25);
}

.service-card-key {
  background: radial-gradient(circle at top left, #f97316 0, #facc15 40%, #fef9c3 75%);
  color: #111827;
}

.service-label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  font-size: 11px;
  margin-bottom: 8px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.service-card p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #4b5563;
}

.service-card-key p {
  color: #111827;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #4b5563;
}

.service-card-key .service-list {
  color: #111827;
}

.service-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: #f97316;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 16px 16px 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.25);
}

.benefit-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.benefit-card p {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

.price-table-wrapper {
  background-color: #f9fafb;
  border-radius: 20px;
  padding: 18px 18px 14px;
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.3);
  border: 1px solid #e5e7eb;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.price-table thead th {
  text-align: left;
  padding: 10px 12px;
  background-color: #111827;
  color: #f9fafb;
  font-weight: 500;
}

.price-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
}

.price-table tbody tr:nth-child(odd):not(.price-section-row) {
  background-color: #f9fafb;
}

.price-table tbody tr:nth-child(even):not(.price-section-row) {
  background-color: #f3f4f6;
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody td:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}

.price-section-row td {
  background-color: #111827;
  color: #f9fafb;
  font-weight: 500;
  border-bottom-color: #111827;
}

.price-note {
  margin: 10px 2px 0;
  font-size: 12px;
  color: #6b7280;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 2fr);
  gap: 28px;
  align-items: flex-start;
}

#contacts {
  background-color: #f3f4f6;
}

.contacts-list {
  margin: 0;
  padding: 0;
}

.contacts-item {
  margin-bottom: 12px;
}

.contacts-item dt {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 2px;
}

.contacts-item dd {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

.contacts-item a {
  color: #111827;
}

.contacts-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts-phone-main {
  font-size: 18px;
  font-weight: 600;
}

.contacts-phone-alt {
  font-size: 15px;
  color: #374151;
}

.contacts-phone-main,
.contacts-phone-alt {
  text-decoration: none;
}

.contacts-phone-main:hover,
.contacts-phone-alt:hover {
  text-decoration: underline;
}

.contacts-note {
  background-color: #111827;
  color: #f9fafb;
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.55);
}

.contacts-note h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.contacts-note p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #e5e7eb;
}

.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background-color: rgba(248, 250, 252, 0.9);
  border-radius: 24px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.callback-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #111827;
}

.required {
  color: #dc2626;
  margin-left: 2px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
textarea {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  background-color: #ffffff;
}

input:focus,
textarea:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(248, 181, 61, 0.4);
}

textarea {
  resize: vertical;
  min-height: 96px;
}

.field-error {
  min-height: 16px;
  font-size: 11px;
  color: #b91c1c;
  margin: 3px 0 0;
}

.form-field-captcha .captcha-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

#captchaQuestion {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
}

.form-field-captcha .captcha-line input {
  max-width: 120px;
}

.form-row-consent {
  align-items: flex-start;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
}

.checkbox input[type="checkbox"] {
  margin-top: 3px;
}

.checkbox a {
  color: #1d4ed8;
  text-decoration: underline;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.form-status {
  font-size: 13px;
  color: #4b5563;
}

.form-status.error {
  color: #b91c1c;
}

.form-status.success {
  color: #166534;
}

.form-note {
  margin: 10px 2px 0;
  font-size: 12px;
  color: #6b7280;
}

.site-footer {
  background-color: #0b1120;
  color: #9ca3af;
  padding: 16px 0;
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-company {
  color: #e5e7eb;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.footer-meta span {
  padding: 0;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.8);
}

.footer-phone {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 600;
}

.footer-phone a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-phone a:hover {
  text-decoration: underline;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: underline;
}

.footer-links a:hover {
  color: #e5e7eb;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 24px;
  }

  .about-grid,
  .cards-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 10px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    right: 16px;
    top: 54px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 12px;
    background-color: #020617;
    border: 1px solid rgba(55, 65, 81, 0.85);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.65);
    display: none;
  }

  .nav-list.open {
    display: flex;
  }

  .hero {
    padding: 40px 0 40px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
    justify-content: flex-start;
  }

  .hero-card {
    max-width: 100%;
  }

  .section {
    padding: 36px 0;
  }

  .about-grid,
  .cards-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero-text {
    font-size: 14px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .section-header p {
    font-size: 13px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-field-captcha .captcha-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-field-captcha .captcha-line input {
    width: 100%;
    max-width: none;
  }
}

