/* Основные цвета палитры
 * Основной фон: #F7F2ED (молочный песочный)
 * Акценты: #3A0CA3 (фиолетово-синий), #F72585 (ярко-малиновый), #4CC9F0 (аквамарин)
 * Тексты: #1C1C1E (угольно-черный), #444 (серый акцент)
 * Кнопки: градиент от #3A0CA3 к #4CC9F0
 */

/* Сброс и общие стили */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1C1C1E;
  background-color: #F7F2ED;
  line-height: 1.6;
  padding-top: 5rem; /* Для фиксированной шапки */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #3A0CA3;
}

h3 {
  font-size: 1.5rem;
  color: #3A0CA3;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #3A0CA3;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #F72585;
}

ul {
  list-style: none;
}

section {
  padding: 7rem 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Кнопки */
.cta-button, .submit-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(to right, #3A0CA3, #4CC9F0);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.cta-button:hover, .submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
  color: white;
}

/* Шапка */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0.3rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: block;
}

.header-logo {
  display: block;
  height: auto;
}

/* Навигация */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-menu li a {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #F72585;
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
  width: 100%;
}

.header-contact {
  display: flex;
  align-items: center;
}

.phone-link {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.icon-phone {
  margin-right: 0.5rem;
  width: 24px;
  height: 24px;
  background-color: #3A0CA3;
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 15.5c-1.2 0-2.4-.2-3.6-.6-.3-.1-.7 0-1 .2l-2.2 2.2c-2.8-1.4-5.1-3.8-6.6-6.6l2.2-2.2c.3-.3.4-.7.2-1-.3-1.2-.5-2.4-.5-3.6 0-.5-.4-1-1-1H4c-.5 0-1 .5-1 1 0 9.4 7.6 17 17 17 .5 0 1-.5 1-1v-3.5c0-.5-.4-1-1-1z"/></svg>');
  display: inline-block;
}

/* Burger меню */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #3A0CA3;
  height: 2px;
  width: 2rem;
  border-radius: 2px;
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}

.nav-toggle-label span::before {
  bottom: 7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

/* Hero секция */
.hero {
  background: linear-gradient(135deg, rgba(247, 242, 237, 1) 0%, rgba(255, 255, 255, 0.9) 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 5rem 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1rem;
  color: #3A0CA3;
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #F72585;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-contact {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #444;
}

.logo-container {
  margin-bottom: 2rem;
}

/* О компании */
.about-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-text ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style-type: disc;
}

.about-text li {
  margin-bottom: 0.5rem;
}

/* Услуги */
.services {
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #F7F2ED;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
}

.service-card p {
  padding: 0 1.5rem;
}

.service-card ul {
  padding: 0 1.5rem 1.5rem;
  list-style-type: disc;
  margin-left: 1.5rem;
}

.service-card li {
  margin-bottom: 0.5rem;
}

/* Преимущества */
.benefits {
  background-color: #F7F2ED;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  margin-bottom: 1rem;
}

.benefit-icon i {
  font-size: 3rem;
  color: #3A0CA3;
}

/* Иконки для преимуществ */
.icon-certification, 
.icon-individual, 
.icon-time, 
.icon-support {
  display: inline-block;
  width: 64px;
  height: 64px;
}

.icon-certification {
  background-color: #3A0CA3;
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm4-9h-3V8c0-.6-.4-1-1-1s-1 .4-1 1v3H8c-.6 0-1 .4-1 1s.4 1 1 1h3v3c0 .6.4 1 1 1s1-.4 1-1v-3h3c.6 0 1-.4 1-1s-.4-1-1-1z"/></svg>');
}

.icon-individual {
  background-color: #3A0CA3;
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 12c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm0 2c-2.7 0-8 1.3-8 4v2h16v-2c0-2.7-5.3-4-8-4z"/></svg>');
}

.icon-time {
  background-color: #3A0CA3;
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm1-13h-2v6h6v-2h-4V7z"/></svg>');
}

.icon-support {
  background-color: #3A0CA3;
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 1C5.9 1 1 5.9 1 12s4.9 11 11 11 11-4.9 11-11S18.1 1 12 1zm0 20c-5 0-9-4-9-9s4-9 9-9 9 4 9 9-4 9-9 9zm1-14h-2v6h2V7zm0 8h-2v2h2v-2z"/></svg>');
}

/* Этапы работы */
.workflow {
  background-color: white;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.workflow-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(to right, #3A0CA3, #4CC9F0);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: bold;
}

.step-icon {
  margin-bottom: 1rem;
}

.step-icon i {
  font-size: 2.5rem;
  color: #F72585;
}

/* Иконки для этапов работы */
.icon-meeting, 
.icon-planning, 
.icon-audit, 
.icon-report {
  display: inline-block;
  width: 48px;
  height: 48px;
}

.icon-meeting {
  background-color: #F72585;
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 12c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm0 2c-2.7 0-8 1.3-8 4v2h16v-2c0-2.7-5.3-4-8-4z"/></svg>');
}

.icon-planning {
  background-color: #F72585;
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 3h-4.2c-.4-1.2-1.5-2-2.8-2-1.3 0-2.4.8-2.8 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1zm-2 14l-4-4 1.4-1.4L9 13.2l6.6-6.6L17 8l-7 7z"/></svg>');
}

.icon-audit {
  background-color: #F72585;
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2l-3.5-3.5 1.4-1.4 2.1 2.1 5.4-5.4 1.4 1.4L9 16.2zm10-10.5h-8v-2h8v2zm0 4h-8v-2h8v2zm0 4h-4v-2h4v2zM3 20V4h18v16H3z"/></svg>');
}

.icon-report {
  background-color: #F72585;
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11zM8 15.5h8v2H8zm0-3h8v2H8zm0-3h5v2H8z"/></svg>');
}

/* Отзывы */
.testimonials {
  background-color: #F7F2ED;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 3px solid #3A0CA3;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  text-align: center;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: #3A0CA3;
}

/* Форма */
.contact-form {
  background-color: white;
}

.audit-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #F7F2ED;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: white;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
  flex: 1;
}

/* Контакты и карта */
.map-section {
  background-color: #F7F2ED;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

.contact-info {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.location-map {
  width: 100%;
  height: auto;
  display: block;
}

/* Футер */
.main-footer {
  background-color: #3A0CA3;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about p {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-contact a,
.footer-links a,
.footer-legal a {
  color: #4CC9F0;
}

.footer-contact a:hover,
.footer-links a:hover,
.footer-legal a:hover {
  color: #F72585;
}

.footer-contact p,
.footer-links li,
.footer-legal li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(28, 28, 30, 0.95);
  color: white;
  padding: 1rem;
  z-index: 9999;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.accept-button {
  background: linear-gradient(to right, #3A0CA3, #4CC9F0);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.accept-button:hover {
  transform: translateY(-3px);
}

.more-info-link {
  color: #4CC9F0;
  text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 992px) {
  section {
    padding: 4rem 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 4rem;
  }
  .main-nav{
    display: none;
  }
  section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  h3{
    font-size: 1.2rem;
  }
  .hero {
    padding: 2rem 0;
  }
  
  /* Мобильная навигация */
  .nav-toggle-label {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: white;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  
  .nav-menu li a {
    display: block;
    padding: 1rem 0;
  }
  
  .nav-toggle:checked ~ .nav-menu {
    max-height: 300px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .header-container {
    position: relative;
    padding: 0.3rem 0;
  }
  
  .header-logo {
    width: 100px;
  }
  
  .header-contact .phone-link span {
    display: none;
  }
  
  .icon-phone {
    width: 24px;
    height: 24px;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 3.5rem;
  }
  
  section {
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  
  .hero {
    padding: 1.5rem 0;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  .service-card,
  .benefit-item,
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .workflow-steps {
    grid-template-columns: 1fr;
  }
  
  .audit-form {
    padding: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .header-logo {
    width: 80px;
  }
} 