/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1a1a1a;
  --primary-hover: #333;
  --secondary: #f5f5f5;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --text: #1a1a1a;
  --text-muted: #666;
  --border: #e5e5e5;
  --background: #fff;
  --background-muted: #fafafa;
  --success: #22c55e;
  --error: #ef4444;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-desc {
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--secondary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--secondary);
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* Tag */
.tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--secondary);
  border-radius: 4px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

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

.header-block {
  display: flex;
  flex-direction: column;
}

.header-block--left {
  text-align: left;
  flex: 1;
}

.header-block--center {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-block--right {
  text-align: right;
  flex: 1;
}

.header-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.header-address {
  font-style: normal;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 4px;
}

.header-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone {
  font-weight: 600;
  font-size: 14px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--background);
  padding: 20px;
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.phone-link {
  color: var(--accent);
}

.mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 8px 0;
}

.mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-contact-label {
  font-size: 12px;
  color: var(--text-muted);
}

.mobile-contact-phone {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--background) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.hero-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Qualification */
.qualification {
  padding: 80px 0;
  background: var(--background);
}

.qualification-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.qual-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--secondary);
  border-radius: var(--radius);
  font-size: 14px;
}

.qual-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.qual-item--yes .qual-icon {
  color: var(--success);
}

.qual-item--no {
  background: #fef2f2;
}

.qual-item--no .qual-icon {
  color: var(--error);
}

/* Solutions */
.solutions {
  padding: 80px 0;
  background: var(--background-muted);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.solution-card {
  background: var(--background);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.solution-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.solution-card.hidden {
  display: none;
}

.solution-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.solution-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.solution-title {
  font-size: 1rem;
  margin-bottom: 8px;
}

.solution-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.solutions-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.solutions-cta p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Advantages */
.advantages {
  padding: 80px 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--secondary);
  border-radius: var(--radius);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  border-radius: 50%;
  margin: 0 auto 16px;
}

.advantage-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.advantage-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Calculator */
.calculator {
  padding: 80px 0;
  background: var(--primary);
  color: #fff;
}

.calculator .section-title,
.calculator .section-desc {
  color: #fff;
}

.calculator .section-desc {
  opacity: 0.8;
}

.calculator-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--background);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--text);
}

.calc-field {
  margin-bottom: 20px;
}

.calc-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.calc-field select,
.calc-field input {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  transition: border-color 0.2s;
}

.calc-field select:focus,
.calc-field input:focus {
  outline: none;
  border-color: var(--primary);
}

.calc-result {
  margin-top: 24px;
  padding: 24px;
  background: var(--secondary);
  border-radius: var(--radius);
  text-align: center;
}

.calc-price {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 8px 0;
}

.calc-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* Production */
.production {
  padding: 80px 0;
}

.production-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 3rem;
}

.prod-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.prod-feature svg {
  width: 20px;
  height: 20px;
  color: var(--success);
}

.production-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 13px;
}

.production-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 3rem;
}

.info-card {
  padding: 32px;
  background: var(--secondary);
  border-radius: var(--radius);
}

.info-card h3 {
  margin-bottom: 16px;
}

.info-address {
  padding: 16px;
  background: var(--background);
  border-radius: var(--radius);
  margin: 16px 0;
  font-size: 14px;
}

.info-list {
  margin-bottom: 16px;
}

.info-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
}

.info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.info-note {
  font-size: 13px;
  color: var(--text-muted);
}

.production-steps {
  padding: 40px;
  background: var(--secondary);
  border-radius: var(--radius);
  margin-bottom: 3rem;
}

.production-steps h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 1.5rem;
}

.step {
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 12px;
}

.step p {
  font-size: 13px;
  color: var(--text-muted);
}

.steps-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.production-cta {
  text-align: center;
  padding: 48px;
  background: var(--secondary);
  border-radius: var(--radius);
}

.production-cta h3 {
  margin-bottom: 12px;
}

.production-cta p {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Cases */
.cases {
  padding: 80px 0;
  background: var(--background-muted);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--background);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
}

.case-image {
  height: 200px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-content {
  padding: 24px;
}

.case-content h3 {
  margin-bottom: 12px;
}

.case-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* FAQ */
.faq {
  padding: 80px 0;
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Contacts */
.contacts {
  padding: 80px 0;
  background: var(--background-muted);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: var(--background);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  border-radius: 50%;
  margin-bottom: 16px;
}

.contact-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.contact-card h3 {
  margin-bottom: 4px;
}

.contact-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-info {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-info a {
  color: var(--primary);
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--accent);
}

.contact-hours {
  color: var(--text-muted);
  font-size: 13px;
}

/* Form Section */
.form-section {
  padding: 80px 0;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--secondary);
  padding: 40px;
  border-radius: var(--radius);
}

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

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 100;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-cta:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.floating-cta svg {
  width: 20px;
  height: 20px;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  background: var(--primary);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 14px;
  opacity: 0.8;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-col ul a:hover {
  opacity: 1;
}

.footer-col span {
  font-size: 12px;
  opacity: 0.6;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 14px;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 1024px) {
  .header-block--left,
  .header-block--right {
    display: none;
  }
  
  .header-block--center {
    flex: 1;
    width: 100%;
  }
  
  .header-inner {
    position: relative;
    justify-content: center;
    padding: 12px 0;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .burger {
    display: flex;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-image img {
    height: 280px;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
  }
  
  .qualification-grid {
    grid-template-columns: 1fr;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .production-gallery {
    grid-template-columns: 1fr 1fr;
  }
  
  .production-info {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
  }
  
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .floating-cta span {
    display: none;
  }
  
  .floating-cta {
    padding: 16px;
    border-radius: 50%;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .production-gallery {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .filter-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  
  .contact-form {
    padding: 24px;
  }
}
