/* style.css - все стили для сайта бухгалтерских услуг "МАКСИМУМ" */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  color: #1e2a3a;
  background-color: #f5f7fc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.top-bar {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 0;
  gap: 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 275px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: #1e2a3a;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #0056b3;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid #0056b3;
  padding: 8px 20px;
  border-radius: 40px;
  color: #0056b3;
  font-weight: 600;
}
.btn-outline:hover {
  background: #0056b3;
  color: white;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
  padding: 60px 0 50px;
}
.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.hero-content {
  flex: 1.4;
}
.hero-badge {
  background: #e0edff;
  color: #0056b3;
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0b2b44;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.1rem;
  color: #2c3e50;
  max-width: 550px;
  margin-bottom: 28px;
}
.btn-primary {
  background: #0056b3;
  color: white;
  padding: 14px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.2s;
  box-shadow: 0 4px 10px rgba(0,86,179,0.3);
}
.btn-primary:hover {
  background: #003d7a;
  transform: translateY(-2px);
}
.hero-stats {
  flex: 1;
  background: white;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
}
.stat-item {
  margin-bottom: 20px;
}
.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0056b3;
}

/* sections */
section {
  padding: 70px 0;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #0b2b44;
  margin-bottom: 48px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.service-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: 0.2s;
  border: 1px solid #eef2ff;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -12px rgba(0,86,179,0.15);
}
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #0056b3;
}
.service-card ul {
  list-style: none;
  padding-left: 0;
}
.service-card li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}
.service-card li::before {
  content: "?";
  position: absolute;
  left: 0;
  color: #0056b3;
  font-weight: bold;
}
.benefit-card, .step-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.benefit-card h4, .step-card h4 {
  font-size: 1.3rem;
  margin: 16px 0 12px;
  color: #0056b3;
}
.icon-emoj {
  font-size: 2.4rem;
}
.contact-section {
  background: #eef2ff;
  border-radius: 48px 48px 0 0;
  margin-top: 30px;
}
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.contact-info {
  flex: 1.2;
  background: white;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.contact-info p {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}
.contact-info strong {
  color: #0b2b44;
  min-width: 90px;
}
.reqs-block {
  background: #f8f9fc;
  border-radius: 20px;
  padding: 16px 20px;
  margin: 20px 0 8px;
  font-size: 0.9rem;
  border: 1px solid #e9ecef;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f4fa;
  padding: 8px 15px;
  border-radius: 40px;
  text-decoration: none;
  color: #1e2a3a;
  font-weight: 500;
  transition: 0.2s;
  font-size: 0.85rem;
}
.social-btn:hover {
  background: #0056b3;
  color: white;
  transform: translateY(-2px);
}
.director-card {
  flex: 1;
  background: white;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-left: 5px solid #0056b3;
}
.director-card h3 {
  font-size: 1.5rem;
  color: #0056b3;
  margin-bottom: 8px;
}
.badge-palata {
  background: #f0f4e9;
  color: #2b6e3c;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 12px 0 16px;
}
.attest-link {
  display: inline-block;
  margin-top: 8px;
  color: #0056b3;
  text-decoration: none;
  font-weight: 500;
}
.attest-link:hover {
  text-decoration: underline;
}
.region-tag {
  background: #eef2ff;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.85rem;
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
}

/* Блок нормативных документов */
.legal-docs {
  background: #ffffff;
  padding: 40px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin: 20px 0;
}
.legal-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0b2b44;
  text-align: center;
  margin-bottom: 24px;
}
.docs-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  row-gap: 16px;
}
.docs-links a {
  color: #0056b3;
  text-decoration: none;
  font-size: 0.9rem;
  background: #f0f4fa;
  padding: 6px 16px;
  border-radius: 40px;
  transition: 0.2s;
}
.docs-links a:hover {
  background: #0056b3;
  color: white;
  text-decoration: none;
}

/* Footer */
footer {
  background: #0b2b44;
  color: #cddfe7;
  text-align: center;
  padding: 32px 0;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #ffffff;
  color: #1e2a3a;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 1000;
  border: 1px solid #eef2ff;
  font-size: 0.9rem;
}
.cookie-notice p {
  margin: 0;
  flex: 1;
}
.cookie-notice a {
  color: #0056b3;
  text-decoration: none;
}
.cookie-notice a:hover {
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn {
  background: #f0f4fa;
  border: none;
  padding: 8px 20px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
  color: #1e2a3a;
}
.cookie-btn-accept {
  background: #0056b3;
  color: white;
}
.cookie-btn-accept:hover {
  background: #003d7a;
  transform: translateY(-2px);
}
.cookie-btn-decline:hover {
  background: #e2e8f0;
}

/* Media Queries */
@media (max-width: 760px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .contact-wrapper {
    flex-direction: column;
  }
  .contact-info p {
    flex-wrap: wrap;
  }
  .social-links {
    justify-content: center;
  }
  .logo-img {
    max-width: 200px;
    height: auto;
  }
  .cookie-notice {
    flex-direction: column;
    text-align: center;
  }
  .cookie-buttons {
    justify-content: center;
  }
  .docs-links {
    flex-direction: column;
    align-items: center;
  }
}