/* Основные стили сайта domain.com */

/* Переменные с цветовой палитрой */
:root {
  --main-bg-color: #0F3D3E;
  --accent-color: #FF6F3C;
  --secondary-accent: #A8E6CF;
  --text-color: #F8F8F8;
  --block-bg-color: #1B1B1B;
  --hover-color: #FFD369;
}

/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--main-bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: var(--secondary-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--hover-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-color);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: var(--text-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Шапка сайта */
header {
  background-color: rgba(27, 27, 27, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--accent-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero секция */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--main-bg-color);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-cta {
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* О компании */
.about {
  background-color: var(--block-bg-color);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
}

.feature-item {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

/* Преимущества */
.benefits {
  background-color: var(--main-bg-color);
}

.benefits-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.benefit-card {
  flex: 1;
  min-width: 280px;
  background-color: var(--block-bg-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-accent);
}

/* Виды аудита */
.services {
  background-color: var(--block-bg-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: rgba(15, 61, 62, 0.5);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-img {
  margin-bottom: 20px;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--secondary-accent);
}

.service-description {
  margin-bottom: 20px;
}

/* Этапы работы */
.steps {
  background-color: var(--main-bg-color);
}

.steps-container {
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 30px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--secondary-accent);
}

.step-item::after {
  content: '';
  position: absolute;
  top: 60px;
  left: 30px;
  width: 2px;
  height: calc(100% - 20px);
  background-color: var(--accent-color);
  z-index: 1;
}

.step-item:last-child::after {
  display: none;
}

/* Отзывы */
.testimonials {
  background-color: var(--block-bg-color);
}

.testimonials-slider {
  position: relative;
}

.testimonial {
  background-color: rgba(15, 61, 62, 0.5);
  padding: 30px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.testimonial-author {
  font-weight: bold;
  color: var(--secondary-accent);
}

.testimonial-position {
  color: var(--accent-color);
  font-size: 0.9rem;
}

.testimonial-rating {
  color: var(--hover-color);
  font-size: 1.2rem;
  margin: 15px 0;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background-color: var(--accent-color);
}

/* Форма заказа */
.contact-form {
  background-color: var(--main-bg-color);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--block-bg-color);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

select option {
  background-color: var(--block-bg-color);
  color: var(--text-color);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 4px;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

/* Контакты и карта */
.contacts {
  background-color: var(--block-bg-color);
}

.contacts-container {
  display: flex;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  height: 400px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-text {
  flex: 1;
}

.contact-title {
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--secondary-accent);
}

/* Подвал */
footer {
  background-color: var(--block-bg-color);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.footer-description {
  margin-bottom: 20px;
  color: rgba(248, 248, 248, 0.7);
}

.footer-links {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--secondary-accent);
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 10px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(248, 248, 248, 0.5);
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--block-bg-color);
  padding: 15px 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

.cookie-popup.active {
  display: block;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-text {
  margin-right: 20px;
}

/* Страницы политик */
.policy-page {
  padding: 120px 0 80px;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--block-bg-color);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.policy-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--accent-color);
}

.policy-content h2 {
  font-size: 1.8rem;
  margin: 30px 0 15px;
  color: var(--secondary-accent);
}

.policy-content h3 {
  font-size: 1.4rem;
  margin: 25px 0 15px;
  color: var(--secondary-accent);
}

.policy-content p {
  margin-bottom: 20px;
}

.policy-content ul,
.policy-content ol {
  margin: 0 0 20px 20px;
}

.policy-content li {
  margin-bottom: 10px;
}

/* Адаптивность для планшетов */
@media screen and (max-width: 991px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .about-text {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .contact-info {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .contacts-container {
    flex-direction: column;
  }
}

/* Адаптивность для мобильных */
@media screen and (max-width: 767px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--block-bg-color);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 0;
    padding: 10px 20px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .policy-container {
    padding: 30px 20px;
  }
  
  .policy-title {
    font-size: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Страница "Спасибо" */
.thank-you-page {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--main-bg-color);
  padding-top: 0;
  margin-top: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.thank-you-content {
  max-width: 600px;
  padding: 40px;
  background-color: var(--block-bg-color);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.thank-you-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-accent);
}

.thank-you-text {
  margin-bottom: 30px;
}

.return-btn {
  margin-top: 20px;
}
