*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #fff;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eef0f4;
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: -0.5px;
}

.logo span {
  color: #2563eb;
}

.nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: #4a4a6a;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: #2563eb;
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.hero-content h1 span {
  color: #2563eb;
}

.hero-content .subtitle {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 8px;
}

.hero-content p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 480px;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-outline:hover {
  background: #2563eb;
  color: #fff;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-alt {
  background: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a2e;
}

.section-header p {
  font-size: 17px;
  color: #6b7280;
  max-width: 640px;
  margin: 0 auto;
}

/* Consulting & Audit sections */
.two-col {
  display: flex;
  gap: 60px;
  align-items: center;
}

.two-col.reverse {
  flex-direction: row-reverse;
}

.two-col .col {
  flex: 1;
}

.two-col .col h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.two-col .col .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2563eb;
  margin-bottom: 8px;
}

.two-col .col p {
  color: #4a4a6a;
  margin-bottom: 16px;
  font-size: 15px;
}

.two-col .col ul {
  list-style: none;
  padding: 0;
}

.two-col .col ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: #4a4a6a;
  font-size: 15px;
  border-bottom: 1px solid #f0f0f5;
}

.two-col .col ul li:last-child {
  border-bottom: none;
}

.two-col .col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 12px;
  height: 12px;
  background: #2563eb;
  border-radius: 50%;
  opacity: 0.2;
}

.two-col .col ul li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 21px;
  width: 4px;
  height: 4px;
  background: #2563eb;
  border-radius: 50%;
}

.result-box {
  margin-top: 24px;
  padding: 20px 24px;
  background: #eef4ff;
  border-radius: 8px;
  border-left: 4px solid #2563eb;
}

.result-box strong {
  color: #1a1a2e;
  display: block;
  margin-bottom: 4px;
}

.result-box p {
  margin-bottom: 0 !important;
  font-size: 14px !important;
}

/* Expertise / Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.advantage-card {
  padding: 32px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef0f4;
  transition: box-shadow 0.3s, transform 0.2s;
}

.advantage-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.advantage-card .icon {
  width: 44px;
  height: 44px;
  background: #eef4ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.advantage-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 14px;
  color: #6b7280;
}

/* About */
.about-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-wrapper .about-text {
  flex: 1;
}

.about-wrapper .about-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-wrapper .about-text .highlight {
  font-size: 18px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 16px;
}

.about-wrapper .about-text p {
  color: #4a4a6a;
  margin-bottom: 12px;
  font-size: 15px;
}

.about-stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 28px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef0f4;
  text-align: center;
}

.stat-card .number {
  font-size: 36px;
  font-weight: 700;
  color: #2563eb;
  display: block;
}

.stat-card .label {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

/* Contacts */
.contacts-wrapper {
  display: flex;
  gap: 60px;
}

.contacts-info {
  flex: 1;
}

.contacts-info h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contacts-info p {
  color: #6b7280;
  margin-bottom: 32px;
}

.contacts-info .info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #4a4a6a;
  font-size: 15px;
}

.contacts-info .info-item svg {
  flex-shrink: 0;
}

.contacts-info .info-item a {
  color: #2563eb;
  text-decoration: none;
}

.contacts-info .info-item a:hover {
  text-decoration: underline;
}

.contact-form {
  flex: 1;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #eef0f4;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4a4a6a;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group .error {
  color: #dc2626;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.form-group.invalid input,
.form-group.invalid textarea {
  border-color: #dc2626;
}

.form-group.invalid .error {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success svg {
  margin-bottom: 16px;
}

.form-success h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.form-success p {
  color: #6b7280;
  font-size: 14px;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid #eef0f4;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid #eef0f4;
  }

  .nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero .container {
    flex-direction: column;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .two-col {
    flex-direction: column !important;
    gap: 32px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .about-wrapper {
    flex-direction: column;
    gap: 32px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacts-wrapper {
    flex-direction: column;
    gap: 32px;
  }

  .contact-form {
    padding: 24px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }
}
