/* Сброс стилей и базовые настройки */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Заголовки */
h1,
h2,
h3 {
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  color: #34495e;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: #2c3e50;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2980b9, #3498db);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Шапка */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.header-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.company-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.company-description {
  font-size: 0.95rem;
  color: #7f8c8d;
  line-height: 1.4;
  font-weight: 400;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.call-to-action {
  font-size: 0.9rem;
  color: #7f8c8d;
  text-align: right;
  font-weight: 400;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.phone-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.phone-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-number:hover {
  color: #27ae60;
}

/* Главная секция */
.hero {
  background: linear-gradient(
      135deg,
      rgba(102, 126, 234, 0.85) 0%,
      rgba(118, 75, 162, 0.85) 100%
    ),
    url("assets/pc1.jpeg") center/cover no-repeat;
  color: white;
  padding: 4rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  line-height: 1.5;
}

.brands-info {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero .btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero .btn:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.contact-apps {
  margin-top: 2rem;
}

.contact-apps p {
  margin-bottom: 1rem;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.apps-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
}

.telegram {
  background: #0088cc;
}

.telegram:hover {
  background: #006ba3;
  transform: scale(1.05);
}

.viber {
  background: #665cac;
}

.viber:hover {
  background: #574d94;
  transform: scale(1.05);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.repair-service-illustration {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2rem;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.service-van {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: slideIn 3s infinite;
}

.service-van i {
  font-size: 4rem;
  color: #3498db;
  margin-bottom: 0.5rem;
}

.van-text,
.master-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.repair-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.repair-tools i {
  font-size: 2.5rem;
  color: #f39c12;
  animation: toolFloat 2s ease-in-out infinite;
}

.repair-tools i:nth-child(2) {
  animation-delay: 0.3s;
  color: #e74c3c;
}

.repair-tools i:nth-child(3) {
  animation-delay: 0.6s;
  color: #2ecc71;
}

.pc-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pc-device i {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.repair-progress {
  width: 60px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  border-radius: 3px;
  animation: progressFill 3s ease-in-out infinite;
}

.master-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: masterWork 2.5s ease-in-out infinite;
}

.master-icon i {
  font-size: 4rem;
  color: #9b59b6;
  margin-bottom: 0.5rem;
}

@keyframes slideIn {
  0% {
    transform: translateX(-30px);
    opacity: 0.7;
  }
  50% {
    transform: translateX(10px);
    opacity: 1;
  }
  100% {
    transform: translateX(-30px);
    opacity: 0.7;
  }
}

@keyframes toolFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(10deg);
  }
}

@keyframes progressFill {
  0% {
    width: 0%;
  }
  70% {
    width: 100%;
  }
  100% {
    width: 100%;
  }
}

@keyframes masterWork {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
  100% {
    width: 100%;
  }
}



/* Секция процесса ремонта */
.process {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ddd" opacity="0.3"/><circle cx="80" cy="40" r="2" fill="%23ddd" opacity="0.3"/><circle cx="40" cy="80" r="2" fill="%23ddd" opacity="0.3"/></svg>')
    repeat;
  z-index: 1;
}

.process .container {
  position: relative;
  z-index: 2;
}

.process-subtitle {
  text-align: center;
  color: #7f8c8d;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
}

.process-step {
  background: white;
  padding: 2.5rem 1rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 3px solid transparent;
  opacity: 0;
  transform: translateY(30px);
  animation: stepFadeIn 0.8s ease forwards;
  height: 395px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.process-step:nth-child(1) {
  animation-delay: 0.2s;
}
.process-step:nth-child(3) {
  animation-delay: 0.4s;
}
.process-step:nth-child(5) {
  animation-delay: 0.6s;
}
.process-step:nth-child(7) {
  animation-delay: 0.8s;
}
.process-step:nth-child(9) {
  animation-delay: 1s;
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #3498db;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.step-icon {
  margin: 1rem 0;
}

.step-icon i {
  font-size: 3rem;
  color: #3498db;
  margin-bottom: 1rem;
}

.process-step h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.process-step p {
  color: #7f8c8d;
  line-height: 1.6;
  font-size: 0.95rem;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: arrowFadeIn 0.5s ease forwards;
}

.step-arrow:nth-child(2) {
  animation-delay: 0.3s;
}
.step-arrow:nth-child(4) {
  animation-delay: 0.5s;
}
.step-arrow:nth-child(6) {
  animation-delay: 0.7s;
}
.step-arrow:nth-child(8) {
  animation-delay: 0.9s;
}

.step-arrow i {
  font-size: 1.5rem;
  color: #bdc3c7;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrowFadeIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes arrowPulse {
  0%,
  100% {
    transform: scale(1);
    color: #bdc3c7;
  }
  50% {
    transform: scale(1.2);
    color: #3498db;
  }
}

/* Уникальные цвета для разных этапов */
.process-step:nth-child(1) .step-number {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.process-step:nth-child(3) .step-number {
  background: linear-gradient(135deg, #3498db, #2980b9);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.process-step:nth-child(5) .step-number {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.process-step:nth-child(7) .step-number {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  box-shadow: 0 4px 15px rgba(155, 89, 182, 0.4);
}

.process-step:nth-child(9) .step-number {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

/* Стиль для кликабельного первого этапа */
.process-step:first-child {
  cursor: pointer;
  transition: all 0.3s ease;
}

.process-step:first-child:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(52, 152, 219, 0.2);
  border-color: #e74c3c;
}

.process-step:first-child h3 {
  color: #3498db !important;
  text-decoration: underline;
  text-decoration-color: rgba(52, 152, 219, 0.5);
  text-underline-offset: 3px;
}

.step-action {
  margin-top: 1rem;
}

.btn-step {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.btn-step:hover {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

/* Секция цен */
.pricing {
  padding: 4rem 0;
  background: white;
}

.pricing-subtitle {
  text-align: center;
  color: #7f8c8d;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

/* Адаптивная сетка для pricing */
@media (min-width: 1400px) {
  .pricing-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
  
  .price-card {
    height: 340px;
  }
  
  .price-card.featured {
    height: 340px;
  }
  
  .price-card h3 {
    font-size: 1.25rem;
    min-height: 50px;
  }
  
  .price {
    font-size: 1.9rem;
  }
}

@media (max-width: 1399px) and (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
  }
  
  .price-card {
    height: 340px;
  }
  
  .price-card.featured {
    height: 340px;
  }
  
  .price-card h3 {
    font-size: 1.2rem;
    min-height: 48px;
  }
}

@media (max-width: 1099px) and (min-width: 850px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .price-card {
    height: 340px;
  }
  
  .price-card.featured {
    height: 340px;
  }
  
  .price-card h3 {
    font-size: 1.15rem;
    min-height: 46px;
  }
  
  .price {
    font-size: 1.7rem;
  }
}

@media (max-width: 849px) and (min-width: 600px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 849px) and (min-width: 600px) {
  .price-card {
    height: 340px;
  }
  
  .price-card.featured {
    height: 340px;
  }
  
  .price-card h3 {
    font-size: 1.1rem;
    min-height: 44px;
  }
  
  .price {
    font-size: 1.6rem;
  }
}

@media (max-width: 599px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .price-card {
    padding: 1.5rem;
    height: 240px;
  }
  
  .price-card.featured {
    transform: none;
    height: 240px;
  }
  
  .price-card h3 {
    font-size: 1.05rem;
    min-height: 40px;
  }
  
  .price {
    font-size: 1.5rem;
  }
  
  .price-card p {
    font-size: 0.8rem;
  }
  
  .price-card.featured:hover {
    transform: translateY(-10px);
  }
}

.price-card {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: #3498db;
}

.price-card.featured {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  transform: scale(1.05);
  height: 340px; /* Сохраняем базовую высоту для featured */
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.price-card.featured .price {
  color: #f39c12;
}

.featured-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #e74c3c;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.price-card.featured .price-icon {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.price-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  line-height: 1.3;
  flex-shrink: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #27ae60;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.price-card p {
  color: #7f8c8d;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-card.featured p {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-note {
  background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
}

.pricing-note p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #2c3e50;
}

.pricing-note p:last-child {
  margin-bottom: 0;
}

/* Секция брендов */
.brands {
  padding: 4rem 0;
  background: white;
}

.brands-subtitle {
  text-align: center;
  color: #7f8c8d;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  font-style: italic;
  animation: subtitlePulse 3s ease-in-out infinite;
}

@keyframes subtitlePulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
    color: #3498db;
  }
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.brand-item {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 1.2rem;
  text-align: center;
  border-radius: 10px;
  font-weight: 600;
  color: #495057;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: brandFadeIn 0.6s ease forwards;
}

.brand-item:nth-child(1) {
  animation-delay: 0.1s;
}
.brand-item:nth-child(2) {
  animation-delay: 0.15s;
}
.brand-item:nth-child(3) {
  animation-delay: 0.2s;
}
.brand-item:nth-child(4) {
  animation-delay: 0.25s;
}
.brand-item:nth-child(5) {
  animation-delay: 0.3s;
}
.brand-item:nth-child(6) {
  animation-delay: 0.35s;
}
.brand-item:nth-child(7) {
  animation-delay: 0.4s;
}
.brand-item:nth-child(8) {
  animation-delay: 0.45s;
}
.brand-item:nth-child(9) {
  animation-delay: 0.5s;
}
.brand-item:nth-child(10) {
  animation-delay: 0.55s;
}
.brand-item:nth-child(11) {
  animation-delay: 0.6s;
}
.brand-item:nth-child(12) {
  animation-delay: 0.65s;
}
.brand-item:nth-child(13) {
  animation-delay: 0.7s;
}
.brand-item:nth-child(14) {
  animation-delay: 0.75s;
}
.brand-item:nth-child(15) {
  animation-delay: 0.8s;
}
.brand-item:nth-child(16) {
  animation-delay: 0.85s;
}
.brand-item:nth-child(17) {
  animation-delay: 0.9s;
}
.brand-item:nth-child(18) {
  animation-delay: 0.95s;
}
.brand-item:nth-child(19) {
  animation-delay: 1s;
}
.brand-item:nth-child(20) {
  animation-delay: 1.05s;
}
.brand-item:nth-child(21) {
  animation-delay: 1.1s;
}
.brand-item:nth-child(22) {
  animation-delay: 1.15s;
}
.brand-item:nth-child(23) {
  animation-delay: 1.2s;
}
.brand-item:nth-child(24) {
  animation-delay: 1.25s;
}
.brand-item:nth-child(25) {
  animation-delay: 1.3s;
}
.brand-item:nth-child(26) {
  animation-delay: 1.35s;
}
.brand-item:nth-child(27) {
  animation-delay: 1.4s;
}
.brand-item:nth-child(28) {
  animation-delay: 1.45s;
}
.brand-item:nth-child(29) {
  animation-delay: 1.5s;
}
.brand-item:nth-child(30) {
  animation-delay: 1.55s;
}

.brand-item {
  cursor: pointer;
  user-select: none;
}

.brand-item:hover {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.brand-item:active {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.5);
}

@keyframes brandFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brands-note {
  text-align: center;
  font-size: 1.2rem;
  color: #7f8c8d;
  font-weight: 500;
}

/* Секция услуг */
.services {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: #3498db;
  margin-bottom: 1rem;
  display: block;
  position: relative;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  font-size: 3rem;
  color: #3498db;
}

/* Уникальные цвета для разных услуг */
.service-card:nth-child(2) .service-icon i {
  color: #e74c3c; /* Звук - красный */
}

.service-card:nth-child(3) .service-icon i {
  color: #f39c12; /* Плата - оранжевый */
}

.service-card:nth-child(4) .service-icon i {
  color: #2ecc71; /* Питание - зеленый */
}

.service-card:nth-child(5) .service-icon i {
  color: #9b59b6; /* Smart TV - фиолетовый */
}

.service-card:nth-child(6) .service-icon i {
  color: #1abc9c; /* Профилактика - бирюзовый */
}

.screen-icon {
  position: relative;
}

.screen-icon i:first-child {
  font-size: 3rem;
  color: #34495e;
}

.screen-icon i:last-child {
  position: absolute;
  font-size: 1.5rem;
  color: #e74c3c;
  top: -5px;
  right: -5px;
  animation: warningBlink 2s infinite;
}

@keyframes warningBlink {
  0%,
  50% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0.3;
  }
}

.service-card p {
  color: #7f8c8d;
  margin-top: 1rem;
}

/* FAQ секция */
.faq {
  padding: 4rem 0;
  background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
}

.faq-subtitle {
  text-align: center;
  color: #7f8c8d;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.faq-grid {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.faq-item {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: inherit;
}

.faq-question i {
  transition: transform 0.3s ease;
  font-size: 1rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-question {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.faq-contact {
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: auto;
}

.faq-contact p {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Секция отзывов */
.reviews {
  padding: 4rem 0;
  background: white;
}

.reviews-subtitle {
  text-align: center;
  color: #7f8c8d;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.review-card {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #3498db;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: reviewFadeIn 0.8s ease forwards;
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }
.review-card:nth-child(6) { animation-delay: 0.6s; }
.review-card:nth-child(7) { animation-delay: 0.7s; }
.review-card:nth-child(8) { animation-delay: 0.8s; }

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-left-color: #e74c3c;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: #3498db;
  opacity: 0.3;
  font-family: serif;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.client-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #3498db;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
  flex-shrink: 0;
}

.client-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.review-card:hover .client-photo img {
  transform: scale(1.1);
}

.client-info h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.2rem;
  color: #2c3e50;
  font-weight: 600;
}

.client-location {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 0.5rem;
}

.review-rating {
  display: flex;
  gap: 2px;
}

.review-rating i {
  color: #f39c12;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(243, 156, 18, 0.3);
}

.review-text {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.review-text p {
  margin: 0;
  color: #555;
  font-style: italic;
  position: relative;
  padding-left: 1rem;
}

.review-text p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 3px;
  height: 60%;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 2px;
}

.review-date {
  font-size: 0.85rem;
  color: #95a5a6;
  text-align: right;
  font-weight: 500;
}

.reviews-cta {
  text-align: center;
  background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.reviews-cta p {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

@keyframes reviewFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Секция обратного звонка */
.callback-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.callback-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  margin: 0 auto;
}

.callback-card h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.callback-card p {
  color: #7f8c8d;
  margin-bottom: 2rem;
  text-align: center;
}

/* Формы */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-status {
  margin-top: 1rem;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
}

.form-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Подвал */
.footer {
  background: #2c3e50;
  color: white;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-info .footer-logo {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-info p {
  color: #bdc3c7;
  margin-bottom: 1rem;
}

.footer-details {
  margin-top: 1rem;
}

.footer-service-info {
  margin-bottom: 1.5rem;
}

.footer-service-info p {
  color: #bdc3c7;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-service-info p:first-child {
  color: #ecf0f1;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-contact-info {
  margin-bottom: 1.5rem;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-phone .phone-icon {
  background: linear-gradient(135deg, #34495e, #2c3e50);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.footer-phone .phone-number {
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 500;
}

.footer-phone .phone-number:hover {
  color: #27ae60;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-email .email-icon {
  background: linear-gradient(135deg, #34495e, #2c3e50);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.footer-email .email-address {
  color: white;
  font-size: 1rem;
  text-decoration: none;
}

.footer-email .email-address:hover {
  color: #27ae60;
}

.footer-payment,
.footer-warranty {
  margin-bottom: 1rem;
}

.footer-payment p,
.footer-warranty p {
  color: #bdc3c7;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-payment strong,
.footer-warranty strong {
  color: #ecf0f1;
}

.footer-privacy {
  margin-top: 1.5rem;
}

.footer-privacy .privacy-link {
  color: #3498db;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-privacy .privacy-link:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Адаптивность для footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-info .footer-logo {
    font-size: 1.1rem;
  }
  
  .footer-service-info p {
    font-size: 0.85rem;
  }
  
  .footer-phone .phone-number,
  .footer-email .email-address {
    font-size: 1rem;
  }
  
  .footer-payment p,
  .footer-warranty p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 1.5rem 0;
  }
  
  .footer-content {
    gap: 1rem;
  }
  
  .footer-service-info {
    margin-bottom: 1rem;
  }
  
  .footer-contact-info {
    margin-bottom: 1rem;
  }
  
  .footer-phone,
  .footer-email {
    margin-bottom: 0.8rem;
  }
  
  .footer-phone .phone-icon,
  .footer-email .email-icon {
    width: 35px;
    height: 35px;
  }
  
  .footer-phone .phone-number,
  .footer-email .email-address {
    font-size: 0.95rem;
  }
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
}

.close:hover {
  color: #333;
}

/* Адаптивность */
/* Медиа-запросы для больших экранов */
@media (min-width: 1200px) {
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
  
  .review-card {
    min-height: 350px;
  }
}

/* Медиа-запрос для 1024px планшетов */
@media (max-width: 1200px) and (min-width: 993px) {
  .process-step {
    height: 500px !important;
    padding: 2rem 1.5rem;
  }

  .process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .process-step p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* Медиа-запрос для средних экранов */
@media (max-width: 992px) and (min-width: 769px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .review-card {
    min-height: 330px;
  }

  /* Process адаптивность для планшетов */
  .process-steps {
    gap: 2rem;
  }

  .process-step {
    height: 500px;
    padding: 2rem 1.5rem;
  }

  .process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .process-step p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .repair-service-illustration {
    width: 280px;
    height: 280px;
    gap: 1.5rem;
  }

  .cta-buttons {
    justify-content: center;
  }

  .header-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .header-left {
    align-items: center;
  }

  .header-right {
    align-items: center;
  }

  .company-name {
    font-size: 1.5rem;
  }

  .company-description {
    font-size: 0.9rem;
    text-align: center;
  }

  .call-to-action {
    text-align: center;
    font-size: 0.85rem;
  }

  .phone-number {
    font-size: 1.2rem;
  }

  .phone-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .header {
    padding: 0.8rem 0;
  }



  .apps-buttons {
    justify-content: center;
  }

  .brands-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.8rem;
  }

  .brand-item {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .brands-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Адаптивность процесса для планшетов */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 700px;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .step-arrow i {
    font-size: 2rem;
  }

  .process-step {
    padding: 2rem 1.5rem;
    height: 280px;
  }

  .step-icon i {
    font-size: 2.5rem;
  }

  .process-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  /* Адаптивность хедера для планшетов */
  .company-name {
    font-size: 1.6rem;
  }

  .company-description {
    font-size: 0.9rem;
  }

  .phone-number {
    font-size: 1.3rem;
  }

  /* Pricing адаптивность настроена выше */

  .pricing-note p {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-icon i {
    font-size: 2.5rem;
  }

  .screen-icon i:first-child {
    font-size: 2.5rem;
  }

  .callback-card {
    padding: 2rem 1.5rem;
  }

  .modal-content {
    margin: 10% auto;
    padding: 1.5rem;
  }

  .repair-service-illustration {
    width: 250px;
    height: 250px;
    gap: 1.5rem;
  }

  .repair-service-illustration {
    width: 260px;
    height: 260px;
    gap: 1.5rem;
  }

  .service-van i,
  .pc-device i,
  .master-icon i {
    font-size: 3rem;
  }

  .repair-tools i {
    font-size: 2rem;
  }

  .van-text,
  .master-text {
    font-size: 0.8rem;
    padding: 3px 6px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 0;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .repair-service-illustration {
    width: 240px;
    height: 240px;
    gap: 1rem;
  }

  .service-van i,
  .pc-device i,
  .master-icon i {
    font-size: 2.5rem;
  }

  .repair-tools i {
    font-size: 1.8rem;
  }

  .van-text,
  .master-text {
    font-size: 0.7rem;
    padding: 2px 5px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .apps-buttons {
    flex-direction: column;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .brand-item {
    padding: 0.6rem;
    font-size: 0.8rem;
  }

  .brands-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  /* Адаптивность отзывов для мобильных */
  .reviews {
    padding: 2rem 0;
  }

  .reviews h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .reviews-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
    text-align: center;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0 0.5rem;
  }

  .review-card {
    padding: 1.2rem;
    border-radius: 15px;
    margin: 0 auto;
    max-width: 100%;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  }

  .review-card::before {
    font-size: 2.5rem;
    top: -5px;
    left: 10px;
  }

  .review-header {
    gap: 0.8rem;
    margin-bottom: 1rem;
    align-items: flex-start;
  }

  .client-photo {
    width: 40px;
    height: 40px;
    border-width: 2px;
    flex-shrink: 0;
  }

  .client-info {
    flex: 1;
    min-width: 0;
  }

  .client-info h3 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    line-height: 1.2;
  }

  .client-location {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    color: #888;
  }

  .review-rating {
    gap: 1px;
    justify-content: flex-start;
  }

  .review-rating i {
    font-size: 0.7rem;
  }

  .review-text {
    margin-bottom: 0.8rem;
    line-height: 1.5;
  }

  .review-text p {
    font-size: 0.85rem;
    padding-left: 0.8rem;
    text-align: left;
  }

  .review-text p::before {
    width: 2px;
    height: 70%;
  }

  .review-date {
    font-size: 0.75rem;
    text-align: right;
    margin-top: 0.5rem;
  }

  .reviews-cta {
    padding: 1.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 15px;
  }

  .reviews-cta p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .reviews-cta .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Адаптивность процесса для мобильных */
  .process {
    padding: 2rem 0;
  }

  .process-steps {
    gap: 1.5rem;
    max-width: 100%;
  }

  .process-step {
    padding: 1.5rem 1.2rem;
    height: 240px;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    top: -12px;
  }

  .step-icon i {
    font-size: 2rem;
  }

  .process-step h3 {
    font-size: 1.1rem;
  }

  .process-step p {
    font-size: 0.9rem;
  }

  .step-arrow i {
    font-size: 1.5rem;
  }

  .process-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn-step {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  /* Pricing адаптивность для мобильных настроена выше */

  .price-card.featured {
    transform: none;
  }

  .price-card.featured:hover {
    transform: translateY(-10px);
  }

      .faq-contact p {
      font-size: 1.1rem;
    }

    /* Адаптивность отзывов для планшетов */
    .reviews-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }

    .review-card {
      padding: 1.5rem;
      min-height: 320px;
    }

    .client-photo {
      width: 50px;
      height: 50px;
    }

    .client-info h3 {
      font-size: 1.1rem;
    }

    .reviews-cta p {
      font-size: 1.2rem;
    }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .repair-service-illustration {
    width: 200px;
    height: 200px;
    gap: 1rem;
  }

  .service-van i,
  .pc-device i,
  .master-icon i {
    font-size: 2.5rem;
  }

  .repair-tools i {
    font-size: 1.8rem;
  }

  .van-text,
  .master-text {
    font-size: 0.7rem;
    padding: 2px 5px;
  }

  .service-icon i {
    font-size: 2rem;
  }

  .screen-icon i:first-child {
    font-size: 2rem;
  }

  .screen-icon i:last-child {
    font-size: 1rem;
  }

  /* Адаптивность отзывов для экстра маленьких экранов */
  .reviews h2 {
    font-size: 1.6rem;
  }

  .reviews-subtitle {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  .reviews-grid {
    padding: 0 0.2rem;
    gap: 1rem;
  }

  .review-card {
    padding: 1rem;
    border-radius: 12px;
  }

  .review-card::before {
    font-size: 2rem;
    left: 8px;
  }

  .review-header {
    gap: 0.6rem;
  }

  .client-photo {
    width: 35px;
    height: 35px;
  }

  .client-info h3 {
    font-size: 0.9rem;
  }

  .client-location {
    font-size: 0.7rem;
  }

  .review-rating i {
    font-size: 0.65rem;
  }

  .review-text p {
    font-size: 0.8rem;
    padding-left: 0.6rem;
    line-height: 1.4;
  }

  .review-date {
    font-size: 0.7rem;
  }

  .reviews-cta {
    padding: 1.2rem 0.8rem;
    margin: 0 0.2rem;
  }

  .reviews-cta p {
    font-size: 0.95rem;
  }

  .reviews-cta .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  /* Touch интерфейс для отзывов на мобильных */
  .review-card {
    -webkit-tap-highlight-color: rgba(52, 152, 219, 0.1);
    tap-highlight-color: rgba(52, 152, 219, 0.1);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }

  .review-card:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
  }

  /* Убираем иконку руки на мобильных - заменяем на тень */
  .review-card > div[style*="position: absolute"] {
    display: none !important;
  }

  .review-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  }
}

/* Адаптивность для экстра маленьких экранов 320px */
@media (max-width: 320px) {
  .reviews {
    padding: 1.5rem 0;
  }

  .reviews h2 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    padding: 0 0.5rem;
  }

  .reviews-subtitle {
    font-size: 0.85rem;
    padding: 0 0.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
  }

  .reviews-grid {
    padding: 0;
    gap: 0.8rem;
  }

  .review-card {
    padding: 0.8rem;
    border-radius: 10px;
    margin: 0 0.3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }

  .review-card::before {
    font-size: 1.5rem;
    top: -3px;
    left: 6px;
  }

  .review-header {
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    flex-wrap: nowrap;
  }

  .client-photo {
    width: 30px;
    height: 30px;
    border-width: 1px;
    flex-shrink: 0;
  }

  .client-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .client-info h3 {
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .client-location {
    font-size: 0.65rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .review-rating {
    gap: 0px;
    justify-content: flex-start;
  }

  .review-rating i {
    font-size: 0.6rem;
  }

  .review-text {
    margin-bottom: 0.6rem;
    line-height: 1.3;
  }

  .review-text p {
    font-size: 0.75rem;
    padding-left: 0.5rem;
    line-height: 1.35;
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
  }

  .review-text p::before {
    width: 1.5px;
    height: 60%;
  }

  .review-date {
    font-size: 0.65rem;
    margin-top: 0.3rem;
  }

  .reviews-cta {
    padding: 1rem 0.5rem;
    margin: 0 0.3rem;
    border-radius: 10px;
  }

  .reviews-cta p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }

  .reviews-cta .btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    width: calc(100% - 1rem);
    max-width: 200px;
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .reviews-cta .btn i {
    font-size: 0.75rem;
    margin-right: 0.3rem;
    flex-shrink: 0;
  }

  /* Дополнительные исправления для 320px */
  .container {
    padding: 0 10px;
  }

  .review-card {
    position: relative;
    overflow: hidden;
  }

  /* Убираем transform эффекты на очень маленьких экранах для стабильности */
  .review-card:active,
  .review-card:hover {
    transform: none;
  }

  /* Оптимизация шрифтов для маленького экрана */
  .review-text p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    letter-spacing: -0.01em;
  }

  /* Специальные исправления для горизонтальной прокрутки */
  body {
    overflow-x: hidden;
  }

  .reviews-grid {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .review-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  /* Исправление для слишком длинных слов */
  .review-text p {
    overflow-wrap: break-word;
    word-break: break-word;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
  }

  /* Улучшение читаемости на маленьких экранах */
  .client-info h3,
  .client-location,
  .review-text p,
  .review-date {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Оптимизация анимаций для производительности */
  .review-card {
    will-change: auto; /* Отключаем will-change для экономии памяти */
    animation-duration: 0.4s; /* Ускоряем анимацию появления */
  }

  /* Отключаем сложные анимации на очень маленьких экранах */
  * {
    animation-duration: 0.2s !important;
    transition-duration: 0.2s !important;
  }

  .review-card::before {
    animation: none; /* Отключаем анимацию декоративных элементов */
  }
}

/* ============================
   ПРОМО-ПАНЕЛЬ (ВСПЛЫВАШКА)
   ============================ */

.promo-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(231, 76, 60, 0.3);
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  font-family: 'Roboto', sans-serif;
}

.promo-panel.show {
  opacity: 1;
  transform: translateY(0);
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.promo-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.promo-text i {
  font-size: 1.5rem;
  color: #f39c12;
  animation: pulse 2s infinite;
}

.promo-text span {
  font-size: 1.1rem;
  font-weight: 500;
}

.promo-phone {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.promo-phone:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.promo-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}



.promo-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.promo-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}



/* АНИМАЦИИ */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* МОБИЛЬНАЯ АДАПТИВНОСТЬ */
@media (max-width: 768px) {
  .promo-content {
    padding: 0.8rem 1rem;
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .promo-text {
    text-align: center;
    gap: 0.5rem;
  }
  
  .promo-text span {
    font-size: 1rem;
  }
  
  .promo-phone {
    padding: 0.2rem 0.6rem;
    font-size: 0.9rem;
  }
  
  .promo-close {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .promo-text i {
    font-size: 1.2rem;
  }
  
  .promo-text span {
    font-size: 0.9rem;
  }
  
  .promo-phone {
    font-size: 0.8rem;
  }
}

/* ЭЛЕМЕНТЫ ДОВЕРИЯ В ФУТЕРЕ */
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.trust-item:hover {
  color: white;
  transform: translateY(-2px);
}

.trust-item i {
  font-size: 1.1rem;
  color: #3498db;
  background: rgba(52, 152, 219, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.trust-item:hover i {
  background: rgba(52, 152, 219, 0.2);
  transform: scale(1.1);
}

/* КОПИРАЙТ СЕКЦИЯ */
.footer-copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.copyright-left,
.copyright-right {
  flex: 1;
}

.copyright-left p,
.copyright-right p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

.copyright-left p {
  font-weight: 500;
}

.copyright-right p {
  text-align: right;
  font-style: italic;
}

/* МОБИЛЬНАЯ АДАПТИВНОСТЬ */
@media (max-width: 768px) {
  .promo-content {
    padding: 0.8rem 1rem;
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .promo-text {
    text-align: center;
    gap: 0.5rem;
  }
  
  .promo-text span {
    font-size: 1rem;
  }
  
  .promo-phone {
    padding: 0.2rem 0.6rem;
    font-size: 0.9rem;
  }
  
  .promo-close {
    width: 30px;
    height: 30px;
  }
  
  /* Адаптивность для элементов доверия */
  .footer-trust {
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
  
  .trust-item {
    font-size: 0.85rem;
    gap: 0.4rem;
  }
  
  .trust-item i {
    font-size: 1rem;
    padding: 0.4rem;
  }
  
  /* Адаптивность для копирайта */
  .footer-copyright {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
  
  .copyright-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .copyright-left p,
  .copyright-right p {
    font-size: 0.8rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .promo-text i {
    font-size: 1.2rem;
  }
  
  .promo-text span {
    font-size: 0.9rem;
  }
  
  .promo-phone {
    font-size: 0.8rem;
  }
  
  /* Адаптивность для элементов доверия на маленьких экранах */
  .footer-trust {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .trust-item {
    justify-content: center;
    font-size: 0.8rem;
  }
  
  .trust-item i {
    font-size: 0.9rem;
    padding: 0.3rem;
  }
  
  /* Адаптивность для копирайта на маленьких экранах */
  .copyright-content {
    gap: 0.8rem;
  }
  
  .copyright-left p,
  .copyright-right p {
    font-size: 0.75rem;
  }
}
