/* Общие стили для undressherRU.pw */
:root {
  --primary-color: #E53935;
  --secondary-color: #3F51B5;
  --accent-color: #4CAF50;
  --text-color: #212121;
  --light-bg: #F5F5F5;
  --dark-bg: #263238;
  --light-text: #FFFFFF;
  --gradient-bg: linear-gradient(135deg, #E53935 0%, #D81B60 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  color: var(--text-color);
  background-color: var(--light-bg);
  line-height: 1.6;
}

.wrapper {
  overflow: hidden;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
}

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

ul {
  list-style-type: none;
}

/* Заголовок сайта */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 45px;
  width: auto;
}

.site-navigation ul {
  display: flex;
}

.site-navigation li {
  margin-left: 1.5rem;
}

.site-navigation a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem;
  transition: color 0.3s ease;
  position: relative;
}

.site-navigation a:hover {
  color: var(--primary-color);
}

.site-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.site-navigation a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 10px;
}

.hamburger span:nth-child(3) {
  top: 20px;
}

/* Главный баннер */
.main-banner {
  background: var(--gradient-bg);
  color: var(--light-text);
  padding: 8rem 0 5rem;
  text-align: center;
}

.main-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.main-banner p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.primary-button {
  display: inline-block;
  background-color: #fff;
  color: var(--primary-color);
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Секция с преимуществами */
.features {
  padding: 5rem 0;
  background-color: #fff;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 4rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background-color: var(--primary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-item {
  padding: 2rem;
  text-align: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.feature-item:hover {
  transform: translateY(-10px);
  border-bottom: 3px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Секция с преимуществами */
.benefits {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.benefits-wrapper {
  display: flex;
  justify-content: center;
}

.benefits-content {
  max-width: 800px;
}

.benefits-content h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.benefits-list {
  padding-left: 1rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.check-icon {
  width: 24px;
  height: 24px;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Как это работает */
.how-it-works {
  padding: 5rem 0;
  background-color: #fff;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin: 4rem 0;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

/* FAQ секция */
.faq {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

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

.faq-item {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border-left: 3px solid var(--primary-color);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.5rem;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-item.active .faq-answer {
  display: block;
}

/* Отзывы */
.testimonials {
  padding: 5rem 0;
  background-color: #fff;
}

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

.testimonial-item {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
}

.testimonial-content {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-size: 2rem;
  color: var(--primary-color);
  font-family: Georgia, serif;
}

.testimonial-author {
  font-style: italic;
  font-weight: 600;
  text-align: right;
  color: var(--primary-color);
}

/* Финальный призыв к действию */
.final-cta {
  padding: 5rem 0;
  background: var(--gradient-bg);
  color: var(--light-text);
  text-align: center;
}

.final-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.final-cta p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Футер */
.site-footer {
  padding: 4rem 0 2rem;
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  opacity: 0.7;
}

.footer-logo {
  height: 45px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-links h3,
.footer-keywords h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--light-text);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-keywords p {
  opacity: 0.7;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
  .site-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .site-navigation.active {
    display: block;
  }

  .site-navigation ul {
    flex-direction: column;
    padding: 1rem 0;
  }

  .site-navigation li {
    margin: 0;
  }

  .site-navigation a {
    display: block;
    padding: 1rem;
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -8px);
  }

  .main-banner h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .main-banner {
    padding: 7rem 0 4rem;
  }

  .main-banner h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .process-steps {
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .footer-logo {
    margin: 0 auto;
  }

  .footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links li {
    margin: 0 1rem;
  }
}

@media (max-width: 576px) {
  .main-banner h1 {
    font-size: 1.5rem;
  }

  .main-banner p {
    font-size: 1rem;
  }

  .primary-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}
