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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.logo h2 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  line-height: 1.2;
}

.logo span {
  font-size: 12px;
  font-weight: normal;
  color: #666;
}

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

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #8BC34A;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 12px;
  color: #666;
  gap: 2px;
}

.cta-button {
  background: #8BC34A;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #7CB342;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.2;
}

.hero-cta {
  background: #2196F3;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-cta:hover {
  background: #1976D2;
}

/* About Section */
.about {
  padding: 80px 0;
  background: #f8f9fa;
}

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

.about-text h2 {
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
}

.expertise {
  margin: 30px 0;
}

.expertise h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.expertise ul {
  list-style: none;
  padding-left: 0;
}

.expertise li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.expertise li::before {
  content: '•';
  color: #8BC34A;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.guarantee {
  background: #8BC34A;
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-top: 30px;
}

.guarantee p {
  margin: 0;
  font-weight: bold;
  text-align: center;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Section */
.services {
  padding: 80px 0;
  background: white;
}

.services h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  background: #f8f9fa;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.3;
}

.service-button {
  background: #2196F3;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.service-button:hover {
  background: #1976D2;
}

/* Additional Services */
.additional-services {
  padding: 80px 0;
  background: #f8f9fa;
}

.additional-services h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.additional-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.additional-service {
  background: white;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.additional-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.additional-service .service-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.additional-service h3 {
  font-size: 18px;
  color: #333;
  line-height: 1.3;
}

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

.contact-form-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-form-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.contact-form h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #333;
}

.contact-form p {
  margin-bottom: 30px;
  color: #666;
  font-size: 16px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2196F3;
}

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

.submit-button {
  background: #00BCD4;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-button:hover {
  background: #00ACC1;
}

.form-note {
  font-size: 12px;
  color: #666;
  margin-top: 15px;
}

.form-note a {
  color: #2196F3;
  text-decoration: none;
}

.bitrix-badge {
  margin-top: 20px;
  font-size: 12px;
  color: #666;
}

.bitrix-badge strong {
  color: #2196F3;
}

/* Contacts Section */
.contacts {
  padding: 30px 0;      /* было 80px → уменьшили в 2 раза */
  background: #f8f9fa;
}

.contacts h2 {
  margin-bottom: 25px;  /* было 50px */
}

.contacts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;           
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;           
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;            
  font-size: 16px;
}

.contact-item svg {
  color: #2196F3;
}

.working-hours h3 {
  margin-bottom: 6px;  
}

.hours-grid {
  display: grid;
  gap: 2px;             
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 1px 0;     
  font-size: 14px;
}

.hours-item:last-child {
  border-bottom: none;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 30px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    max-width: 768px;
    padding: 0 15px;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .nav {
    gap: 20px;
  }

  .header-contact {
    align-items: center;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text {
    order: 2;
  }

  .about-image {
    order: 1;
  }

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

  .additional-services-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-image {
    order: 1;
  }

  .contact-form {
    order: 2;
  }

  .contacts-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .services h2,
  .additional-services h2,
  .contact-form h2,
  .contacts h2 {
    font-size: 28px;
  }

  .service-card,
  .additional-service {
    padding: 30px 20px;
  }
}
