/* ОБЩИЕ СТИЛИ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #e0dddd;
  color: #1e1e1e;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* HEADER */
.header {
  background: #ffffff;
  padding: 24px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 48px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 16px;
  font-weight: 500;
  color: #1e1e1e;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.phone {
  font-size: 20px;
  font-weight: 500;
  color: #1e1e1e;
}

.icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.icons img {
  width: 52px;  /* ← увеличь по макету */
  height: 52px;
  object-fit: contain;
  cursor: pointer;
  filter: brightness(0); /* при необходимости: чёрная иконка */
}

.btn {
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
  display: inline-block;
  white-space: nowrap;
}

.btn.purple {
  background: #6c38cc;
  color: #fff;
  border-radius: 24px;
  padding: 12px 24px;
}

/* HERO */
.hero {
  background: url('img/hero.jpeg') center/cover no-repeat;
  min-height: 780px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
}

.hero-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 64px;
  color: #fff;
  width: 860px;
  margin-top: 80px;
  margin-left: 80px;
  border-radius: 42px;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
}

.hero-content p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 32px;
  color: #f0ff1c;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.modal-content input {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* ХИТЫ */
.hits {
  padding: 80px 0;
  background: #ffc0e5;
}

.hits-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #ffffff}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 300px;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 50%;
  z-index: 2;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* НОВИНКИ */
.new {
  padding: 80px 0;
  background: #9dc5f8;
}

.new-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #ffffff;
}

.new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.new-item {
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: #f5f5f5;
}

.new-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* О НАС */
.about {
  background: #d2b9ff;
  color: #fff;
  padding: 80px 0;
}

.about-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: left;
}

.about-text {
  max-width: 1000px;
  margin: 0 auto 48px;
  font-size: 28px;
  line-height: 1.6;
  text-align: justify;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 48px;
}

.feature {
  text-align: left;
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature p {
  font-size: 14px;
  line-height: 1.5;
}

.about-btn {
  text-align: center;
}

.about-btn .btn {
  background: #fff;
  color: #6c38cc;
  border-radius: 24px;
  padding: 12px 24px;
  font-weight: 500;
}

/* ПРЕИМУЩЕСТВА */
.benefits {
  padding: 80px 0;
  background: #f8c88a;
}

.benefits-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 48px;
  text-align: left;
  color: #ffffff;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 64px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.benefit-item {
  width: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-icon {
  width: 180px;
  height: 180px;
  background: #f32dfa;
  border-radius: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.benefit-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.benefit-item p {
  font-size: 16px;
  line-height: 1.4;
  color: #ffffff;
}

/* ОТЗЫВЫ */
.reviews {
  padding: 80px 0;
  background: #b0fca6;
}

.reviews-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
  text-align: left;
  color: #ffffff;
}

.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.review-card {
  background: #f5f5f5;
  border-radius: 32px;
  padding: 32px 24px;
  max-width: 300px;
  flex: 1 1 280px;
  text-align: center;
}

.review-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}

.review-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.review-city {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.review-text {
  font-size: 15px;
  font-style: italic;
  color: #333;
  line-height: 1.4;
}

/* CALL TO ACTION */
.cta {
  background: #acecf5;
  color: #fff;
  padding: 80px 0;
}

.cta-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.cta-left, .cta-right {
  flex: 1 1 460px;
}

.cta-left h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-left p {
  font-size: 18px;
  margin-bottom: 24px;
}

.cta-form input {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border: none;
  border-radius: 20px;
  font-size: 16px;
}

.cta-form .cta-checkbox {
  font-size: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
}

.cta-form .cta-checkbox input {
  margin-top: 3px;
}

.cta-form .btn {
  background: #fff;
  color: #6c38cc;
  border-radius: 24px;
  padding: 12px 24px;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.cta-right {
  text-align: center;
}

.cta-right img {
  max-width: 300px;
  margin: 0 auto 16px;
}

.cta-right p {
  font-size: 16px;
  margin-bottom: 16px;
}

.cta-right .btn {
  background: #fff;
  color: #6c38cc;
  border-radius: 24px;
  padding: 12px 24px;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.footer {
  background: #555;
  color: #fff;
  padding: 60px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column.socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.footer-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
  padding-left: 4px; /* чтобы учесть отступ шрифта */
}

.footer-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  margin-left: -6px; /* смещение влево, под «М» */
  padding-left: 0;
}

.footer-icons img {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1);
  cursor: pointer;
}
