/* === БЛОК CTA ДЛЯ ЗАПЧАСТЕЙ (Millimeter Paper) === */

.parts-cta {
  /* Настоящая миллиметровка: мелкая сетка + крупная сетка + рамка */
  background-color: #ffffff;
  background-image: 
    /* Мелкая сетка (1px линии) */
    linear-gradient(rgba(90, 160, 220, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 160, 220, 0.15) 1px, transparent 1px),
    /* Крупная сетка (1.5px линии, каждые 40px) */
    linear-gradient(rgba(90, 160, 220, 0.35) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(90, 160, 220, 0.35) 1.5px, transparent 1.5px);
  background-size: 
    8px 8px,    /* Мелкая ячейка */
    8px 8px,    /* Мелкая ячейка */
    40px 40px,  /* Крупная ячейка (5x5 мелких) */
    40px 40px;  /* Крупная ячейка */
  background-position: 0 0;
  padding: 80px 0;
  position: relative;
}

/* Декоративная рамка по краю блока (как на листе миллиметровки) */
.parts-cta::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border: 2px solid rgba(90, 160, 220, 0.25);
  pointer-events: none;
  z-index: 0;
}

.parts-cta__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.parts-cta__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* === ЛЕВАЯ КОЛОНКА === */
.parts-cta__title {
  font-family: 'Exo 2', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 16px;
  line-height: 1.2;
}

.parts-cta__text {
  font-family: 'Inter 18pt', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #404271;
  margin: 0 0 32px;
}

/* Блок телефонов */
.parts-cta__phones {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(90, 160, 220, 0.3);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
}

.parts-cta__phones-label {
  display: block;
  font-family: 'Inter 18pt', sans-serif;
  font-size: 13px;
  font-weight: 600; /* Semibold */
  color: #2c3e50;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.parts-cta__phones-numbers {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.parts-cta__phone-link {
  font-family: 'Exo 2', sans-serif;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.2;
}

.parts-cta__phone-link--primary {
  font-size: 26px;
  font-weight: 700; /* Bold */
  color: #2c3e50;
}

.parts-cta__phone-link--secondary {
  font-size: 18px;
  font-weight: 200; /* ExtraLight */
  color: #34495e;
}

.parts-cta__phone-link:hover {
  color: #e67e22;
}

.parts-cta__phones-note {
  display: block;
  font-family: 'Inter 18pt', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #7f8c8d;
}

/* === БЕЙДЖИ ДОВЕРИЯ === */
.parts-cta__badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.parts-cta__badge {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(90, 160, 220, 0.25);
  border-radius: 6px;
  padding: 16px 16px 16px 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(4px);
}

.parts-cta__badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(90, 160, 220, 0.15);
}

.parts-cta__badge-accent {
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: #e67e22;
  border-radius: 0 2px 2px 0;
}

.parts-cta__badge-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #e67e22;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.parts-cta__badge-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.parts-cta__badge-content strong {
  font-family: 'Inter 18pt', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.3;
}

.parts-cta__badge-content span {
  font-family: 'Inter 18pt', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #7f8c8d;
  line-height: 1.3;
}

/* === ПРАВАЯ КОЛОНКА: ФОРМА === */
.parts-cta__form-wrapper {
  background: rgba(255, 255, 255, 0.95);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(52, 73, 94, 0.1);
  border: 1px solid rgba(90, 160, 220, 0.2);
  backdrop-filter: blur(8px);
}

.parts-cta__form-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 8px;
}

.parts-cta__form-subtitle {
  font-family: 'Inter 18pt', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #7f8c8d;
  margin: 0 0 24px;
}

.parts-cta__field {
  margin-bottom: 20px;
}

.parts-cta__label {
  display: block;
  font-family: 'Inter 18pt', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.parts-cta__input {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Inter 18pt', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #2c3e50;
  background: #ffffff;
  border: 1.5px solid #d8dbe0;
  border-radius: 6px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.parts-cta__input::placeholder {
  color: #95a5a6;
}

.parts-cta__input:focus {
  outline: none;
  border-color: #e67e22;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

/* Зона загрузки файла */
.parts-cta__file-drop {
  position: relative;
  border: 2px dashed #d8dbe0;
  border-radius: 6px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
}

.parts-cta__file-drop:hover {
  border-color: #e67e22;
  background: rgba(230, 126, 34, 0.03);
}

.parts-cta__file-input {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}

.parts-cta__file-text {
  display: block;
  font-family: 'Inter 18pt', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 4px;
}

.parts-cta__file-hint {
  display: block;
  font-family: 'Inter 18pt', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #95a5a6;
}

/* Чекбокс 152-ФЗ */
.parts-cta__field--checkbox {
  margin-bottom: 24px;
}

.parts-cta__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.parts-cta__checkbox-input {
  position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0;
}

.parts-cta__checkbox-custom {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 2px solid #d8dbe0;
  border-radius: 4px;
  background: #ffffff;
  position: relative;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.parts-cta__checkbox-input:checked + .parts-cta__checkbox-custom {
  background: #e67e22;
  border-color: #e67e22;
}

.parts-cta__checkbox-input:checked + .parts-cta__checkbox-custom::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 4px; height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.parts-cta__checkbox-text {
  font-family: 'Inter 18pt', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #7f8c8d;
}

.parts-cta__checkbox-text a {
  color: #e67e22;
  text-decoration: underline;
}

/* Кнопка */
.parts-cta__button {
  width: 100%;
  padding: 16px 24px;
  background: #e67e22;
  color: #ffffff;
  font-family: 'Inter 18pt', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.parts-cta__button:hover:not(:disabled) {
  background: #d35400;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

.parts-cta__button:disabled {
  background: #bdc3c7;
  color: #ffffff;
  cursor: not-allowed;
  transform: none;
  opacity: 0.7;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 992px) {
  .parts-cta__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .parts-cta__badges {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .parts-cta {
    padding: 48px 0;
    background-size: 
      6px 6px,
      6px 6px,
      30px 30px,
      30px 30px;
  }
  
  .parts-cta::before {
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  
  .parts-cta__title { font-size: 26px; }
  .parts-cta__form-wrapper { padding: 24px; }
  .parts-cta__phone-link--primary { font-size: 22px; }
  .parts-cta__phone-link--secondary { font-size: 16px; }
}
